How to: Visualize Data from a PivotGridControl using the DXCharts Suite
The following example shows how to bind a ChartControl to a PivotGridControl to visualize data.
In this example, the ChartControl is bound to the PivotGrid by assigning the PivotGridControl.ChartDataSource property value to the ChartControl.DataSource property.
The main form of this sample application contains the 'Transpose Data Source' check box that defines the PivotGridControl.ChartProvideDataByColumns property value. If the check box is checked, the property is set to false, and series are created based on pivot grid rows (instead of columns, which is the default behavior).