XRPivotGrid.CustomChartDataSourceRows Event

Occurs before the XRPivotGrid control passes its data to a bound XRChart control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

public event EventHandler<PivotCustomChartDataSourceRowsEventArgs> CustomChartDataSourceRows
Public Event CustomChartDataSourceRows As EventHandler(Of PivotCustomChartDataSourceRowsEventArgs)

The event handler receives an argument of the DevExpress.XtraReports.UI.PivotGrid.PivotCustomChartDataSourceRowsEventArgs type.

This event allows you customize the XRPivotGrid's data before passing it to a XRChart control.

Use the event parameter's Rows property to access data that will be passed to the chart. This collection contains PivotChartDataSourceRow objects that identify chart data source records. Each record contains data from a specific pivot grid cell and will be represented by a series point in a chart.

To learn more about the functionality provided by this event, see PivotGridControl.CustomChartDataSourceRows.

See Also