RoundedBarOpts
Defined in: core/draw.ts:133
Options for roundedBar — corner radii, optional hover glow, and glow colour. Charts (Bar, HBar, ComboChart, StackedBar, Bullet, etc.) forward their hover state and theme into this for a consistent rounded- rectangle visual language.
Properties
Section titled “Properties”glowColor?
Section titled “glowColor?”
optionalglowColor?:string
Defined in: core/draw.ts:143
Glow / shadow colour. Defaults to the bar’s fill colour.
hover?
Section titled “hover?”
optionalhover?:boolean
Defined in: core/draw.ts:141
Apply the canvas drop-shadow used as a hover halo on this bar.
radii?
Section titled “radii?”
optionalradii?:number| [number,number,number,number]
Defined in: core/draw.ts:139
Corner radii in pixels. Pass a single number for uniform corners or a
tuple [topLeft, topRight, bottomRight, bottomLeft] for asymmetric
shapes (e.g. only round the top of a stacked bar).