KodeKarsa UI

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
Pengunjung unik, November dibanding Oktober
LabelNovemberOktober
1 Nov1.2401.100
3 Nov1.3801.150
5 Nov1.3101.240
7 Nov1.5201.190
9 Nov1.6101.300
11 Nov1.5801.360
13 Nov1.7901.320
15 Nov1.9201.410
17 Nov1.8701.480
19 Nov2.0801.450
21 Nov2.2401.520
23 Nov2.3101.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.