Skip to content

BarChartItem

Defined in: widgets/data/chart.ts:20

One bar in a BarChartWidget.

optional color?: string

Defined in: widgets/data/chart.ts:26

Bar colour (theme $var or literal); defaults to $accent.


optional label?: string

Defined in: widgets/data/chart.ts:22

Row label shown before the bar (truncated as space tightens).


value: number

Defined in: widgets/data/chart.ts:24

Bar magnitude.