chartcn

Line

Line chart variants built with shadcn ChartContainer and Recharts.

Basic

Line Chart — Basic
Revenue trend

Multi-series

Line Chart — Multi-series
Sessions by device

Curve / step

Line — Linear
type="linear"
Line — Monotone
type="monotone"
Line — Step
type="stepAfter"

Dots / activeDot

Line Chart — Dots / ActiveDot
Visible dots with enlarged activeDot

Dual axis

Line Chart — Dual Axis
Users vs revenue

Crosshair + axis labels

Line Chart — Crosshair + Axis Labels
Crosshair cursor with labeled axes

Closest-series highlight

Line Chart — Closest Series Highlight
Hover dims non-active series

Synced multi-panel

Line Chart — Synced Multi-panel
Shared hover index across panels

Brush / zoom

Line Chart — Brush / Zoom
Drag the handles to resize the range, or the shaded band to pan it

Custom tooltip

Line Chart — Custom Tooltip
Revenue with MoM growth

Inverted axis

Line Chart — Inverted Axis
Lower rank is better (Y reversed)

On this page