Chart
- from @keyline-ui
Charts on recharts, as the reference: series colours by role from the data tokens (focal, comparison, rest, mark, alert) as --color-<key>; solid hairline grid, Code-voice ticks, square marks and keys, an inverse tooltip with tabular figures. ChartFigure adds a title and a Chart / Table switch over the same rows. RTL axes and reduced motion are applied for you.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @keyline-ui/chartComponent source
No live preview has been built for this component yet.
Registry dependencies6
- @keyline-ui/keyline
- @keyline-ui/table
- utils
- @keyline-ui/segmented
- @keyline-ui/keyline-scope
- @keyline-ui/keyline-render