MultiBar class

Defines a Group of Multiple Bars

A list of BarData needs to be provided which will provide us the Y-Value for each individual bar in the group.

See Also: BarGroup

Inheritance

Constructors

MultiBar.new({required num xValue, required List<BarData> yValues, BarGroupArrangement arrangement = BarGroupArrangement.series, double spacing = 10.0, BarDataStyle? style, double padding = 10})
Defines a Group of Multiple Bars

Properties

arrangement BarGroupArrangement
Defines how all the bars in this group should be arranged
final
hashCode int
The hash code for this object.
no setterinherited
padding double
The amount of padding applied to either side of the bars.
finalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double
The space between consecutive bars in a series arrangement.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
style BarDataStyle?
Styling for the Bars in this BarGroup.
finalinherited
xValue num
The Value along X-Axis for this BarGroup.
finalinherited
yValues List<BarData>
The list of BarData which gives us the Y-Value and the styling for each individual bars in this group.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

lerp(BarGroup? current, BarGroup target, double t) MultiBar
Lerps between two MultiBars for a factor t
override