Skip to content
Docs
Open Promoeyes

bar-chart

UI item · inside ui / ui3duisset 29× in templates and rigs

A vertical bar chart on a UI stage: one bar per `datum` of its `data`, scaled to the largest, with the labels under them, a faint grid and the bar colours from `colors`.

bar-chart(barRadius=1 h=1 w=1)

Attributes

barRadiusnumberCorner radius of each bar (default 8).29×
hnumberChart height in stage units (default 220).29×
wnumberChart width in stage units (default 420).29×
backgroundcolour #rrggbbtextFill behind the chart (default white).28×
gridColorcolour #rrggbbtextColour of the horizontal grid lines.28×
axisGapnumberSpace between neighbouring bars, in stage units (default 14).11×
padBottomnumberRoom under the bars for their labels, in stage units (default 32).11×
marginfour numbers5×

Where it goes