RadarDataSet class
the data values for drawing RadarChart sections
Constructors
-
RadarDataSet({List<
RadarEntry> ? dataEntries, Color? fillColor, Color? borderColor, double? borderWidth, double? entryRadius}) -
RadarChart can contain multiple RadarDataSet And it shows them on top of each other.
each RadarDataSet has a set of
dataEntries
and the RadarChart uses thisdataEntries
to draw the chart.
Properties
- borderColor → Color
-
defines the border color of the RadarDataSet.
if borderColor is not defined it will replaced with fillColor.
final
- borderWidth → double
-
defines the width of RadarDataSet border.
the default value of this field is 2.0
final
-
dataEntries
→ List<
RadarEntry> -
each section or dataSets consists of a set of dataEntries.
final
- entryRadius → double
-
defines the radius of each entry
the default value of this field is 5.0
final
- fillColor → Color
-
defines the color that fills the RadarDataSet.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
copyWith(
{List< RadarEntry> ? dataEntries, Color? fillColor, Color? borderColor, double? borderWidth, double? entryRadius}) → RadarDataSet - Copies current RadarDataSet to a new RadarDataSet, and replaces provided values.
-
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
Static Methods
-
lerp(
RadarDataSet a, RadarDataSet b, double t) → RadarDataSet -
Lerps a RadarDataSet based on
t
value, check Tween.lerp.