# Angular PivotGrid - Chart Integration

The PivotGrid provides an [`aggregateData`](https://www.telerik.com/kendo-angular-ui-develop/components/pivotgrid/api/pivotgridcomponent#aggregatedata) field which holds a collection of [`PivotDataRowItem`](https://www.telerik.com/kendo-angular-ui-develop/components/pivotgrid/api/pivotdatarowitem) objects, representing the displayed aggregate values. Process the collection manually to use it as data for the Chart component.

Use the [`expandChange`](https://www.telerik.com/kendo-angular-ui-develop/components/pivotgrid/api/pivotlocalbindingdirective#expandchange) and [`configurationChange`](https://www.telerik.com/kendo-angular-ui-develop/components/pivotgrid/api/pivotlocalbindingdirective#configurationchange) events to update the Chart component accordingly when the end user interacts with the PivotGrid.

The following example demonstrates how to implement a Chart with data, restructured from the PivotGrid `dataLoaded` event, to fit the specific Chart configuration.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/pivotgrid/chart-integration/source.txt)

## Suggested Links

* [Angular PivotGrid Homepage](https://www.telerik.com/kendo-angular-ui/pivotgrid)
* [API Reference of the PivotGridComponent](https://www.telerik.com/kendo-angular-ui-develop/components/pivotgrid/api/pivotgridcomponent)
* [API Reference of the ChartComponent](https://www.telerik.com/kendo-angular-ui-develop/components/charts/api/chartcomponent)
