BoxPlotChartRenderer class

Draws box-and-whisker groups into a canvas.

Inheritance
Implemented types

Constructors

BoxPlotChartRenderer({required List<BoxGroup> groups})
Creates a renderer for the given groups.
const

Properties

accessibilityLabel String
A short label naming the kind of chart, e.g. "Line chart", for semantics.
no setteroverride
accessibilityValue String
A value summarizing the chart's data — counts, range, a few points.
no setteroverride
groups List<BoxGroup>
Groups drawn as evenly distributed box-and-whisker columns.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildScene(Size size) ChartScene
Builds the hit-test ChartScene for size. Implementations must derive it from the same math used in ChartRenderer.draw, so the marks line up with the pixels exactly.
override
draw(Canvas canvas, Size size, DrafterThemeColors theme, double progress) → void
Draws the chart. progress is the entrance reveal in 0..1 (1 = fully drawn).
override
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