IChartDataAdapter.GetTimeSpanValue(Int32, ChartDataMemberType) Method
In This Article
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.2.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. |
data |
Chart |
The data member type. |
#Returns
Type | Description |
---|---|
Time |
The time-span data item value. |
See Also