roundedBar
roundedBar(
ctx,x,y,w,h,fill,opts?):void
Defined in: core/draw.ts:155
Draw a filled bar with optional rounded corners and hover glow. Used by BarChart, HBarChart, ComboChart, StackedBarChart, BulletChart, and any other rectangle-based chart.
Use this instead of raw fillRect so all rectangle-based charts share
the same visual language without each one re-implementing rounded corners
and hover treatment.
Parameters
Section titled “Parameters”CanvasRenderingContext2D
number
number
number
number
string
RoundedBarOpts = {}
Returns
Section titled “Returns”void