Skip to main content

SeriesPoint.GetTimeSpanValue(ValueLevel) Method

Returns the series point time-span value.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public TimeSpan? GetTimeSpanValue(
    ValueLevel valueLevel
)

Parameters

Name Type Description
valueLevel ValueLevel

The value that indicates the series point value that should be returned by this method.

Returns

Type Description
Nullable<TimeSpan>

The time-span value at the specified level.

Remarks

If a series point does not contain the value of the specified level, this method returns null (Nothing in Visual Basic).

Note

You cannot use this method to define a series view type when several value levels point to one value. For example, the Value_2 and Weight value levels indicate one value.

See Also