Recharts inside ChartContainer, which maps a config to --color-<key> and draws the tooltip and legend in our type and on the tooltip surface.
$ pnpm dlx shadcn@latest add @pavo/chart
pnpm dlx shadcn@latest add @pavo/chart
Stacked bars, the tooltip on hover, a legend.
Previous
Next