LineChart
A value moving through an ordered sequence.
Click a mark to pin its value
View data
| Label | Value |
|---|---|
| W1 | 1,240 |
| W2 | 1,385 |
| W3 | 1,362 |
| W4 | 1,604 |
| W5 | 1,718 |
| W6 | 1,693 |
| W7 | 1,921 |
<LineChart title="Weekly active users" data={data} />Usage
Data
data takes { label: string; value: number; color?: string }[]. Input arrays are never mutated and order is preserved.
- Each chart draws one series on a category axis. There is no time scale yet.
Every chart also accepts the common props: description, height, color, variant, animate, formatValue and className.