RoseChartData class
Data configuration for rose/polar chart.
- Annotations
Constructors
-
RoseChartData({required List<
RoseSegment> segments, double innerRadius = 0.0, double startAngle = -math.pi / 2, double gap = 2.0, bool showLabels = true, bool showValues = false, double? maxValue, ChartAnimation? animation}) -
const
Properties
- animation → ChartAnimation?
-
Animation configuration.
final
- computedMaxValue → double
-
Calculate maximum value from data.
no setter
- gap → double
-
Gap between segments in degrees.
final
- gapRadians → double
-
Get gap in radians.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerRadius → double
-
Inner radius (0.0 for full circle, >0 for donut style).
final
- maxValue → double?
-
Maximum value for scale (auto-calculated if null).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
→ List<
RoseSegment> -
List of segments.
final
- showLabels → bool
-
Whether to show labels.
final
- showValues → bool
-
Whether to show values on segments.
final
- startAngle → double
-
Start angle in radians (default: top, -pi/2).
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