Charts
Area Chart
One to three smooth series over the same labels. Point, drag, or use the arrow keys to read every value at one point.
src/components/charts/area-chart.tsxNo ui-sdk
This month and last month
- November
- Oktober
| Label | November | Oktober |
|---|---|---|
| 1 Nov | 1.240 | 1.100 |
| 3 Nov | 1.380 | 1.150 |
| 5 Nov | 1.310 | 1.240 |
| 7 Nov | 1.520 | 1.190 |
| 9 Nov | 1.610 | 1.300 |
| 11 Nov | 1.580 | 1.360 |
| 13 Nov | 1.790 | 1.320 |
| 15 Nov | 1.920 | 1.410 |
| 17 Nov | 1.870 | 1.480 |
| 19 Nov | 2.080 | 1.450 |
| 21 Nov | 2.240 | 1.520 |
| 23 Nov | 2.310 | 1.600 |
Import
tsx
import { AreaChart } from "@/components/charts/area-chart";Guidelines
- The first series is the main one (accent, filled). Comparisons use a dashed line.
- The legend only appears with more than one series.