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

Linking a Chart with a Pivot Grid

To quickly match the layout of a Chart to the current settings of a Pivot Grid, you can link these two report controls to each other.

To link these controls, assign the XRPivotGrid instance to the XRChart.DataSource property of the chart.

report-pivot-chart-data-source-grid

As a result, the Chart’s data and layout properties will automatically be aligned to the corresponding settings of the Pivot Grid.

PivotChart

The applied settings depend on the XRChart.AutoBindingSettingsEnabled and XRChart.AutoLayoutSettingsEnabled property values.

To access these settings, use the XRChart.PivotGridDataSourceOptions property.

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

To customize the applied data binding settings, handle the XRChart.CustomizeAutoBindingSettings event.