BubbleDataPoint class
Represents a bubble data point with size information.
Extends ChartDataPoint with an additional size property for bubble charts. The size represents the third dimension of data visualization.
Example:
BubbleDataPoint(
x: 10,
y: 20,
size: 50,
label: 'Product A',
)
- Inheritance
-
- Object
- ChartDataPoint
- BubbleDataPoint
Constructors
- BubbleDataPoint({required double x, required double y, required double size, String? label})
-
Creates a bubble data point.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String?
-
Optional label for the data point (e.g., "Jan", "Q1").
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
The size of the bubble (third dimension).
final
- x → double
-
The x-coordinate (horizontal position) of the data point.
finalinherited
- y → double
-
The y-coordinate (vertical value) of the data point.
finalinherited
Methods
-
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