Chart
Sparkline
Web supportediOS supportedAndroid supported
Show a tiny trend without axes or a legend.
Chart
Show a tiny trend without axes or a legend.
Use it as context inside a row or card, not for exact values.
Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.
| Name | Type | Default | Description |
|---|---|---|---|
values* | (number | null)[] | — | Ordered values. |
color | string | — | Explicit line color. |
slot | number | — | Palette slot. Web only. |
height | number | 240 web / 320 native | Chart height in pixels or native points. |
isLoading | boolean | false | Shows the built-in placeholder while data loads. |
theme | ChartTheme | — | Colors and typography for this chart. |