UIInternal UI

Primitives

Chart

@randall-enterprises/ui/components/primitives/chart

Recharts with theme tokens. Config maps series to chart-N hues.

Props (8)

Inherits everything from <div> props; Recharts Recharts Tooltip props.

config *ChartConfig
children *ComponentProps< typeof RechartsPrimitive.ResponsiveContainer >["children"]
ChartTooltipRechartsPrimitive.Tooltip
hideLabelboolean
hideIndicatorboolean
indicator"line" | "dot" | "dashed"
nameKeystring
labelKeystring