Skip to main content

DiagramCoordinates.TimeSpanArgument Property

Gets the diagram point’s time-span argument.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.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