BubbleChartRenderer class

Draws a bubble chart into a canvas with Cartesian axes and a grid.

Inheritance
Implemented types

Constructors

BubbleChartRenderer({required List<List<BubbleData>> series})
Creates a bubble-chart renderer for the given series.
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
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
series List<List<BubbleData>>
The bubble groups to draw; each inner list is one series.
final

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