Skip to main content
All docs
V23.2

IChartDataAdapter.GetDateTimeValue(Int32, ChartDataMemberType) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

DateTime GetDateTimeValue(
    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
DateTime

The date-time data item value.

See Also