ElevateIQ DigitalsElevateIQ DigitalsComponent Library

Sparkline

A tiny trend for a KPI tile: no axes, a dot on the latest point.

When to use it

It shows direction, not values: the tile’s own figure is the number. Put it under a Stat, about 40px tall.

KPI tiles

Options

Everything you can pass to Sparkline.

PropTypeDefaultWhat it does
data(number | null)[]—Oldest first.
labelsstring[]—Per-point labels for the hover readout.
color / area / heightstring / boolean / number--chart-1 / true / 40Line colour token, wash under it, height.
valueFormatter / aria-label——As the other charts.