Skip to main content

Link a Chart and a Pivot Grid

To link the Chart and Pivot Grid controls, assign the XRPivotGrid instance to the chart’s XRChart.DataSource property.

report-pivot-chart-data-source-grid

The Pivot Grid’s settings are automatically assigned to the Chart’s data and layout properties. The applied settings depend on the AutoBindingSettingsEnabled and AutoLayoutSettingsEnabled property values.

PivotChart

Use the XRChart.PivotGridDataSourceOptions property to access the applied settings.

chart-pivot-grid-data-source-options-property

Handle the XRChart.CustomizeAutoBindingSettings event to customize the applied data binding settings.