
Composable chart components with Recharts integration and theme support.
npx shadcn@latest add https://ui.edbn.me/api/analytics/registry/chart.jsonThemed wrapper for Recharts charts. Provides CSS variables for chart colors from a config object.
configChartConfigRequiredChart configuration with color/label mappings
childrenReactNodeRecharts chart components
classNamestringCSS class name
Custom Recharts tooltip with theming support. Use inside any Recharts chart.
contentReactElementCustom tooltip content component
cursorboolean | objecttrueShow cursor line on hover
hideLabelbooleanfalseHide the tooltip label
hideIndicatorbooleanfalseHide the color indicator
indicator'line' | 'dot' | 'dashed''dot'Indicator style
Default content renderer for ChartTooltip. Displays data label, value, and color indicator.
hideLabelbooleanfalseHide the label
hideIndicatorbooleanfalseHide the indicator
indicator'line' | 'dot' | 'dashed''dot'Indicator visual style
nameKeystringOverride data key for name
labelKeystringOverride data key for label
Custom Recharts legend with theming support.
contentReactElementCustom legend content component
verticalAlign'top' | 'bottom''bottom'Vertical alignment
Default content renderer for ChartLegend.
hideIconbooleanfalseHide the color icon
nameKeystringOverride data key for name