Skip to main content
All docs
V24.2

IChartDataAdapter.GetObjectValue(Int32, ChartDataMemberType) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

object GetObjectValue(
    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
Object

The data item value.

See Also