Bar chart
CoreCompare one measure across days and scrub any bar for its value.
pnpm dlx shadcn@latest add https://wui.alann.works/r/bar-chart.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
data* | BarChartDatum[] | required |
label* | string | required |
period* | string | required |
unit | string | — |
averageLabel | string | — |
valueLabel | string | — |
categoryLabel | string | — |
showAverage | boolean | — |
height | number | — |
formatValue | (value: number) => string | — |