Sparklines

Sparklines is an AG Grid Enterprise feature, so you’ll need a license key to use it. See Using AG Grid Enterprise for an example of how to use your license key with Dash AG Grid components.

Sparklines are mini charts that you can add to grid cells. To add sparklines to a column’s cells, add "cellRenderer": "agSparklineCellRenderer" to the column in the columnDefs.

Customizing Sparklines

Sparklines can be customized by supplying sparklineOptions to cellRendererParams on the agSparklineCellRenderer. Here we customize different styles of the sparklines, including the shape, and size, and add crosshairs.

For more detail on sparklines and customization options see Sparklines Overview in the official AG Grid docs.