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

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 XRChart.AutoBindingSettingsEnabled and XRChart.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.