Line chart
Trending. Sales and profit by month as two plain lines, the legend below, with a period switch that redraws them on the same scale.
Installation
Line chart is drawn with the Chart component. Add it, then copy the code from the Code tab above.
pnpm dlx shadcn@latest add @wisty/chart
The CLI installs the Radix or Base UI file to match your project.
Other chart types
- Bar chartComparison
- Column chartComparison
- Stacked bar chartComparison
- Stacked column chartComparison
- Dot plotComparison
- Area chartTrending
- Combination chartTrending
- Donut chartComposition
- Scatter plotRelationship
- Funnel chartPipeline
- Waterfall chartPipeline