RadarChartSeries class

One ordered quantitative profile rendered over shared radial categories.

Inheritance
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 to null.
clearMetadata() RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Clears RadarChartSeries.metadata to null.
clearName() RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Clears RadarChartSeries.name to null.
clearUnit() RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Clears RadarChartSeries.unit to null.
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 with value.
withMetadata(Map<String, dynamic> value) RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Replaces RadarChartSeries.metadata with value.
withName(String value) RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Replaces RadarChartSeries.name with value.
withRadarStyle(RadarSeriesStyle value) RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Replaces RadarChartSeries.radarStyle with value.
withShowInLegend(bool value) RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Replaces RadarChartSeries.showInLegend with value.
withShowInTrackingTooltip(bool value) RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Replaces RadarChartSeries.showInTrackingTooltip with value.
withShowTrackingAxisLabel(bool value) RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Replaces RadarChartSeries.showTrackingAxisLabel with value.
withUnit(String value) RadarChartSeries

Available on RadarChartSeries, provided by the RadarChartSeriesFluent extension

Replaces RadarChartSeries.unit with value.

Operators

operator ==(Object other) bool
The equality operator.
override