Back to components
Dashboard component
Chart Bar
Vertical bar chart with rounded tops, gradient fill, optional value labels, and rotated x labels.
Install
What it does
- Per-bar color override
- Show value labels above each bar
- Rotate x-axis labels for long names
- Auto bar-width sizing
When to use
Use it
Comparisons across discrete categories (top products, weekday sales).
Skip it
Continuous time series (use chart-line).
Files & routes added
- components/dashboard/chart-bar.tsx