Sparkline Chart shows the general shape of a dataset, which lets users preview a trend at a glance.
Anatomy
Anatomy summary lists and describes all the elements within a component (including nested components).
|
Element |
Description |
Optional? |
|---|---|---|
|
1. Data line |
Line that represents the mapped data points (based on the axes shown in a Line Chart). |
No |
|
2. Hover indicator |
Circular target that appears on hover of a data point. |
No |
Variants
Variants contain different versions of the component depending on specific properties, such as state, size, colour, optional iconography, etc.
| Property | Values | Default |
|---|---|---|
| state Variant | rest | hover | rest |
Related components
Help and support