RadarDataPoint class

Represents a radar/spider chart data point.

Each point has a label (axis name) and a value (distance from center). Radar charts display multiple axes arranged in a circle, with each RadarDataPoint representing one axis.

Example

const RadarDataPoint(
  label: 'Speed',
  value: 80,
)

See also:

Constructors

RadarDataPoint({required String label, required double value, bool showValue = true})
Creates a radar data point.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
label String
The label for this axis (e.g., "Speed", "Quality").
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showValue bool
Whether to show the value for this data point.
final
value double
The value on this axis (0.0 to maxValue).
final

Methods

copyWith({String? label, double? value, bool? showValue}) RadarDataPoint
Creates a copy of this radar data point 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