Skip to main content
All docs
V24.1

IChartDataAdapter.GetTimeSpanValue(Int32, ChartDataMemberType) Method

Returns a data item’s time-span value for a data member of the specified type the index.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

TimeSpan GetTimeSpanValue(
    int index,
    ChartDataMemberType dataMember
)

Parameters

Name Type Description
index Int32

A zero-based integer that specifies the item’s position within the collection. If the passed index is negative or exceeds the last available index, an exception is raised.

dataMember ChartDataMemberType

The data member type.

Returns

Type Description
TimeSpan

The time-span data item value.

See Also