MultiBar
The MultiBar
is a type of BarGroup
which can accept multiple yValue
s and tells the Widget to draw a Group of Bars, each of height representing their own yValue
.
Above example will display three bar groups, each consisting of two bars!
By default, MultiBar
s will arrange all the bars in a series
manner. You can also provide some padding spacing between each bar in the group.
To arrange the Bars in a vertical stack, change the enum value for the arrangement
field to BarGroupArrangement.stack
.
When Group Arrangement is stack
, any spacing
value provided will be ignored.
Class Properties
Name | Type | Required | Default Value |
---|---|---|---|
xValue |
| true | - |
yValues |
| true | - |
style |
| false |
|
arrangement |
| false |
|
spacing |
| false |
|
Last updated