Skip to main content
All docs
V25.1
  • DiagramCoordinates.TimeSpanValue Property

    Gets the diagram point’s time-span value.

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.Charts

    Declaration

    public TimeSpan TimeSpanValue { get; }

    Property Value

    Type Description
    TimeSpan

    A TimeSpan value that represents the diagram point’s value.

    Remarks

    Use the XYDiagram2D.PointToDiagram method to convert the point’s display coordinates within the diagram to a DiagramCoordinates object. The TimeSpanValue property returns a time-span value if the DiagramCoordinates.ValueScaleType is ScaleType.TimeSpan. Otherwise, it returns null (Nothing in Visual Basic).

    See Also