chartcn

Bar

Bar chart variants built with shadcn ChartContainer and Recharts.

Basic

Bar Chart — Basic
Monthly sales

Grouped

Bar Chart — Grouped
Quarterly product revenue

Stacked

Bar Chart — Stacked
Desktop + mobile sessions

Stacked Expand (100%)

Bar Chart — Stacked Expand (100%)
Device share by month

Styling

Bar Chart — Styling
Radius + active/inactive opacity

Cursor band + highlight

Bar Chart — Cursor Band
Cursor band + bar highlight

Mixed bar + line

Bar Chart — Mixed Bar + Line
Sales vs target line

Dual-axis bar + line

Bar Chart — Dual Axis
Revenue bars + margin line

Area + bar combo

Bar Chart — Area + Bar Combo
Forecast area under sales bars

Custom tooltip

Bar Chart — Custom Tooltip
Revenue, orders, and AOV

Reference line / annotation

Bar Chart — Reference Line
Goal annotation at 220

On this page