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

    Gets the diagram point’s time-span argument.

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.1.dll

    NuGet Package: DevExpress.Charts

    Declaration

    public TimeSpan TimeSpanArgument { get; }

    Property Value

    Type Description
    TimeSpan

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

    Remarks

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

    See Also