BubbleDataSet class
Represents a collection of bubble data points.
Similar to ChartDataSet but specifically for bubble charts. Contains multiple bubble points that share a color.
Example
BubbleDataSet(
color: Colors.blue,
dataPoints: [
BubbleDataPoint(x: 10, y: 20, size: 50, label: 'Region A'),
BubbleDataPoint(x: 15, y: 25, size: 60, label: 'Region B'),
],
)
See also:
- ChartDataSet for standard two-dimensional data sets
- BubbleDataPoint for individual bubble points
Constructors
-
BubbleDataSet({required Color color, required List<
BubbleDataPoint> dataPoints}) - Creates a bubble data set.
Properties
- color → Color
-
The color used to render the bubbles in this data set.
final
-
dataPoints
→ List<
BubbleDataPoint> -
The list of bubble data points in this data set.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Color? color, List< BubbleDataPoint> ? dataPoints}) → BubbleDataSet - Creates a copy of this bubble data set with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override