RadarChartSeries class
One ordered quantitative profile rendered over shared radial categories.
- Inheritance
-
- Object
- ChartSeries
- RadarChartSeries
- Available extensions
- Annotations
-
- @ChartSurface.new(excluded: ['id', 'points'], bodyValidated: [BodyValidated('_validate() re-runs radarStyle.validate() on every construction, so ' 'withRadarStyle rejects nested style values that are invalid for a ' 'Radar series.')])
Constructors
-
RadarChartSeries({required String id, String? name, required List<
ChartDataPoint> points, Color? color, Map<String, dynamic> ? metadata, String? unit, bool showInLegend = true, bool showTrackingAxisLabel = true, bool showInTrackingTooltip = true, RadarSeriesStyle radarStyle = const RadarSeriesStyle()}) -
RadarChartSeries.fromMap({required String id, String? name, required Map<
String, num> values, Color? color, Map<String, dynamic> ? metadata, String? unit, bool showInLegend = true, bool showTrackingAxisLabel = true, bool showInTrackingTooltip = true, RadarSeriesStyle radarStyle = const RadarSeriesStyle()}) -
Creates stable ordinal points from insertion-ordered categories.
factory
Properties
-
annotations
→ List<
ChartAnnotation> -
finalinherited
-
categories
→ List<
String> -
no setter
- color → Color?
-
finalinherited
- displayName → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
finalinherited
- isEmpty → bool
-
no setterinherited
- isNotEmpty → bool
-
no setterinherited
- isXOrdered → bool
-
finalinherited
- length → int
-
no setterinherited
-
metadata
→ Map<
String, dynamic> ? -
finalinherited
- name → String?
-
finalinherited
-
points
→ List<
ChartDataPoint> -
finalinherited
- radarStyle → RadarSeriesStyle
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showInLegend → bool
-
Whether automatic legends include this series.
finalinherited
- showInTrackingTooltip → bool
-
Whether the tracking tooltip includes this series.
finalinherited
- showTrackingAxisLabel → bool
-
Whether tracking mode may expose this series' value on its Y-axis.
finalinherited
- style → SeriesStyle?
-
finalinherited
- unit → String?
-
Optional unit suffix for value formatting.
finalinherited
- yAxisConfig → YAxisConfig?
-
Inline Y-axis configuration for this series.
finalinherited
- yAxisId → String?
-
Optional Y-axis ID for referencing a shared axis in multi-axis mode.
finalinherited
Methods
-
clearColor(
) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Clears RadarChartSeries.color tonull. -
clearMetadata(
) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Clears RadarChartSeries.metadata tonull. -
clearName(
) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Clears RadarChartSeries.name tonull. -
clearUnit(
) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Clears RadarChartSeries.unit tonull. -
copyWith(
{String? id, String? name, bool clearName = false, List< ChartDataPoint> ? points, Color? color, bool clearColor = false, SeriesStyle? style, bool? isXOrdered, Map<String, dynamic> ? metadata, bool clearMetadata = false, List<ChartAnnotation> ? annotations, String? yAxisId, YAxisConfig? yAxisConfig, String? unit, bool clearUnit = false, bool? showInLegend, bool? showTrackingAxisLabel, bool? showInTrackingTooltip, RadarSeriesStyle? radarStyle}) → RadarChartSeries -
Creates a copy of this series with specified properties overridden.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this series to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateRadarStyle(
RadarSeriesStyle update(RadarSeriesStyle current)) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Rebuilds RadarChartSeries.radarStyle from its current value. -
withColor(
Color value) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Replaces RadarChartSeries.color withvalue. -
withMetadata(
Map< String, dynamic> value) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Replaces RadarChartSeries.metadata withvalue. -
withName(
String value) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Replaces RadarChartSeries.name withvalue. -
withRadarStyle(
RadarSeriesStyle value) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Replaces RadarChartSeries.radarStyle withvalue. -
withShowInLegend(
bool value) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Replaces RadarChartSeries.showInLegend withvalue. -
withShowInTrackingTooltip(
bool value) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Replaces RadarChartSeries.showInTrackingTooltip withvalue. -
withShowTrackingAxisLabel(
bool value) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Replaces RadarChartSeries.showTrackingAxisLabel withvalue. -
withUnit(
String value) → RadarChartSeries -
Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension
Replaces RadarChartSeries.unit withvalue.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override