HydratedChartConfiguration class

Fully decoded public model configuration for one chart artifact.

Annotations

Constructors

HydratedChartConfiguration({required Iterable<ChartSeries> series, required Iterable<ChartAnnotation> annotations, required XAxisConfig xAxis, required Iterable<YAxisConfig> axes, required ChartTheme theme, required InteractionConfig interaction, required GridConfig grid, required LegendStyle legendStyle, required bool showLegend, required bool showToolbar, required bool interactiveAnnotations, required int maxAxesPerSide, required AxisSwapMode axisSwapMode, required NormalizationMode normalizationMode, required Color backgroundColor, required ChartRuntimeBindings runtimeBindings, Iterable<HeatmapViewportProviderDescriptor> heatmapViewportProviders = const [], HeatmapRasterViewportProviderDescriptor? heatmapRasterViewportProvider, ChartViewState? viewState, String? title, String? subtitle, double? width, double? height, ConcentricDonutConfig? concentricDonutConfig, PolarChartConfig? polarChartConfig, RadarChartConfig? radarChartConfig, RadialBarChartConfig? radialBarChartConfig, GaugeChartConfig? gaugeChartConfig, SeriesCalloutConfig seriesCallouts = const SeriesCalloutConfig()})

Properties

annotations List<ChartAnnotation>
Fresh immutable annotation models.
final
axes List<YAxisConfig>
final
axisSwapMode AxisSwapMode
final
backgroundColor Color
final
concentricDonutConfig ConcentricDonutConfig?
Plot-level composition restored for two or more Donut series.
final
gaugeChartConfig GaugeChartConfig?
Plot-level pane, ticks, zones, and center fallback restored for Gauge.
final
grid GridConfig
final
hashCode int
The hash code for this object.
no setterinherited
heatmapRasterViewportProvider HeatmapRasterViewportProviderDescriptor?
Portable image-backed provider resolved by runtimeBindings per mount.
final
heatmapViewportProviders List<HeatmapViewportProviderDescriptor>
Portable provider descriptors resolved by runtimeBindings per mount.
final
height double?
final
interaction InteractionConfig
final
interactiveAnnotations bool
final
legendStyle LegendStyle
final
maxAxesPerSide int
final
normalizationMode NormalizationMode
final
polarChartConfig PolarChartConfig?
Plot-level pane and axes restored for an axis-based polar chart.
final
primaryYAxis YAxisConfig?
no setter
radarChartConfig RadarChartConfig?
Plot-level pane and shared axes restored for a Radar chart.
final
radialBarChartConfig RadialBarChartConfig?
Plot-level pane, tracks, and guides restored for a Radial Bar chart.
final
runtimeBindings ChartRuntimeBindings
Explicit host behavior used by the restored chart.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
series List<ChartSeries>
Fresh immutable series models ready for BravenChartPlus.
final
seriesCallouts SeriesCalloutConfig
Collision-aware label-callout policy restored with the chart document.
final
showLegend bool
final
showToolbar bool
final
subtitle String?
final
theme ChartTheme
final
title String?
final
viewState ChartViewState?
Captured view state, unless disabled by ChartHydrationOptions.
final
width double?
final
xAxis XAxisConfig
final

Methods

build({Key? key, BravenChartController? bravenChartController, GaugeCenterBuilder? gaugeCenterBuilder, DonutCenterBuilder? donutCenterBuilder, DonutCenterTapCallback? onDonutCenterTap}) HydratedBravenChart
Builds a fresh interactive runtime instance with independent controller and annotation identity.
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