Skip to main content
A newer version of this page is available. .

PivotCustomChartDataSourceDataEventArgs.ItemDataMember Property

Gets the type of a chart data member that will represent the current Pivot Grid Control item.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v18.2.dll

Declaration

public PivotChartItemDataMember ItemDataMember { get; }

Property Value

Type Description
PivotChartItemDataMember

A PivotChartItemDataMember enumeration member that specifies the type of a chart data member that will represent the current Pivot Grid Control item.

Available values:

Name Description
Argument

A series point’s argument.

Series

A series.

Value

A series point’s value.

Remarks

Use the ItemDataMember property to obtain whether the current Pivot Grid Control item will be represented by a series, a series point’s value, or a series point’s argument.

Data cell values are always represented by series points’ values in the chart. To specify whether row field values are represented by series point’s arguments, and column field values are represented by series, or vice versa, use the PivotGridOptionsChartDataSourceBase.ProvideDataByColumns property.

Use the PivotCustomChartDataSourceDataEventArgs.ItemType and PivotCustomChartDataSourceDataEventArgs.Value properties, to obtain the type of the current Pivot Grid Control item, and its value, respectively.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemDataMember property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also