Skip to main content

PivotChartDataSourceRow Class

A row in the datasource passed to the chart control.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public class PivotChartDataSourceRow :
    PivotChartDataSourceRowBase

The following members return PivotChartDataSourceRow objects:

Remarks

When a chart control is bound to a pivot grid, the pivot grid prepares a specific chart datasource and passes it to the chart control.

This datasource is a table with three columns: Argument, Series and Value. Each row corresponds to a particular pivot grid cell and will be represented by a point in the chart. Values contained in a row specify the argument, series and value of this chart’s point.

The PivotChartDataSourceRow class instances are individual rows in the chart datasource. You can access them when handling the PivotGridControl.CustomChartDataSourceRows event.

This event is fired before a pivot grid passes the datasource to the chart control allowing you to customize data passed to the chart. The event parameter’s PivotCustomChartDataSourceRowsEventArgs.Rows property provides access to the collection of PivotChartDataSourceRow instances.

Use the PivotChartDataSourceRowBase.Argument, PivotChartDataSourceRowBase.Series and PivotChartDataSourceRowBase.Value properties to obtain and modify values contained in the current row. You can also obtain information about the pivot grid cell that corresponds to the current row. To do this, use the PivotChartDataSourceRow.CellInfo, PivotChartDataSourceRow.ColumnValueInfo and PivotChartDataSourceRow.RowValueInfo properties.

Inheritance

Object
PivotChartDataSourceRowBase
PivotChartDataSourceRow
See Also