Charts
Composed chart
Two series on one axis. Bars plus a line, a highlight bloom, or a dashed overlay.
Props
| Property | Type | Default | Description |
|---|---|---|---|
data | ChartDatum[] | — | Shared category rows. Needs both barKey and lineKey. |
labelKey | string | "date" | X-axis field. |
barKey | string | "bar" | Numeric field for the bars (or the dashed overlay line). |
lineKey | string | "line" | Numeric field for the line or highlight area. |
variant | "combo" | "highlight" | "overlay" | "combo" | Bars + line, muted bars + glow, or dashed line over a glowing area. |
config | ChartConfig | — | Colors and labels for barKey and lineKey. |
className | string | — | Chart container. Default height is 220px. |