Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ag-grid/ag-grid/llms.txt
Use this file to discover all available pages before exploring further.
Integrated Charts allow you to create interactive visualizations directly from your grid data. This is an Enterprise feature that requires AG Charts Enterprise.
Overview
AG Grid’s Integrated Charts feature provides:- Range-based charts - Create charts from selected cell ranges
- Multiple chart types - Bar, column, line, pie, area, scatter, and more
- Interactive editing - Modify chart configuration through built-in panels
- Dynamic updates - Charts update automatically when grid data changes
- Export capabilities - Download charts as images
Basic Charts Implementation
Key Configuration
Enable Charts
SetenableCharts to true in grid options:
Chart Data Types
Control how columns are used in charts:If
chartDataType is not specified, AG Grid automatically determines the type based on the data.Creating Charts
Programmatically Create Charts
Use the Grid API to create charts:User-Created Charts
Users can create charts by:- Selecting a range of cells
- Right-clicking and choosing “Chart Range”
- Selecting the desired chart type from the menu
Chart Types
AG Grid supports numerous chart types:- Column Charts
- Bar Charts
- Line & Area
- Other Types
groupedColumn- Grouped vertical barsstackedColumn- Stacked vertical barsnormalizedColumn- 100% stacked vertical bars
Chart Customization
Theme Overrides
Customize chart appearance:Aggregation Functions
Specify how to aggregate data:Advanced Features
- Multiple Charts
- Chart Downloads
- Dynamic Updates
- Pivot Charts
Create multiple charts from the same grid:
Required Modules
Integrated Charts requires specific modules:Integrated Charts is an Enterprise feature requiring both AG Grid Enterprise and AG Charts Enterprise licenses.
Best Practices
- Define chart data types - Explicitly set
chartDataTypefor clarity - Set appropriate aggregations - Choose the right
aggFuncfor your data - Customize themes - Use
chartThemeOverridesfor consistent branding - Enable cell selection - Required for user-created charts
- Use chart containers - Provide dedicated elements for chart rendering
- Handle chart lifecycle - Store chart references for programmatic control
- Consider performance - Limit the number of simultaneously visible charts
Common Use Cases
Sales Dashboard
Time Series Analysis
Next Steps
- Learn about row grouping for aggregated data
- Explore chart customization options
- Implement pivot charts