ReportChartData class

Aggregated chart content ready to draw or export.

Constructors

ReportChartData({required ReportChartType type, required String title, required List<String> categories, required List<ReportChartSeriesData> series, required List<ReportColor> pointColors, required bool rtl, bool varyColors = false, bool showLegend = true, bool showValues = false, bool showGrid = true, bool showAxes = true, String? valueFormat, double depth = 14, double skew = 32, double hole = 0.58, double startAngle = -90, bool smooth = false, bool? showMarkers, double markerSize = 2.6, double lineWidth = 1.6, double? axisMin, double? axisMax, double? axisMin2, double? axisMax2, double? target, bool showPercent = false, bool lastIsTotal = false, int bands = 3, ReportColor increase = const ReportColor(0xFF2E7D32), ReportColor decrease = const ReportColor(0xFFC62828), ReportColor total = const ReportColor(0xFF37474F), ReportShapeLayer? shapes, bool showLabels = true, ReportColor low = const ReportColor(0xFFDEEBF7), ReportColor high = const ReportColor(0xFF08306B), ReportColor empty = const ReportColor(0xFFE4E4E4), List<ReportColor?>? regionColors, String? labelField, List<String>? regionLabels, Map<String, String>? featureLabels, ReportFontSpec? titleFont, ReportColor? titleInk, ReportFontSpec? labelFont, ReportFontSpec? legendFont, ReportColor? legendInk})
ReportChartData API.
const

Properties

axisMax → double?
Forced primary maximum.
final
axisMax2 → double?
Forced secondary maximum.
final
axisMin → double?
Forced primary minimum.
final
axisMin2 → double?
Forced secondary minimum.
final
bands → int
Qualitative bands behind a gauge or bullet.
final
categories → List<String>
Category labels in plot order.
final
decrease → ReportColor
Waterfall decrease.
final
depth → double
Extrusion depth in points.
final
drawMarkers → bool
Markers follow showMarkers, or the chart type when it is null.
no setter
empty → ReportColor
Shape-map region with no value.
final
featureLabels → Map<String, String>?
Caption of each region by ReportShapeFeature.key, for a calculated or stored column that is not an attribute of the shape file.
final
hashCode → int
The hash code for this object.
no setterinherited
hasLegendEntries → bool
Legend entries exist (radial categories or named / multiple series).
no setter
high → ReportColor
Largest shape-map value.
final
hole → double
Hole as a fraction of the radius.
final
increase → ReportColor
Waterfall increase.
final
isEmpty → bool
True when there is nothing to plot.
no setter
isRadial → bool
Pie, donut, or an extruded form of either.
no setter
labelField → String?
Attribute drawn on each region. Empty uses ReportShapeFeature.label. A {{ }} template is evaluated per row; the results are regionLabels.
final
labelFont → ReportFontSpec?
Region-label font. Null uses the chart font.
final
lastIsTotal → bool
Last waterfall category is an absolute total.
final
legendFont → ReportFontSpec?
Legend font. Null uses the chart font.
final
legendInk → ReportColor?
Legend color. Null uses the chart text color.
final
lineWidth → double
Line stroke width in points.
final
low → ReportColor
Smallest shape-map value.
final
markerSize → double
Marker diameter in points.
final
pointColors → List<ReportColor>
Per-category colors (pie slices; bars when varyColors).
final
regionColors → List<ReportColor?>?
Per-category fill when the map has a region-color column. Null keeps the value gradient. A null entry is an unmatched region.
final
regionLabels → List<String>?
Formula caption for each category, aligned with categories. Null when the label is a shape attribute or the feature name.
final
rtl → bool
Mirror the plot (first category on the right, value axis on the right).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
series → List<ReportChartSeriesData>
series API.
final
shapes → ReportShapeLayer?
Regions of a shape map. Null draws nothing for that chart type.
final
showAxes → bool
showAxes API.
final
showGrid → bool
showGrid API.
final
showLabels → bool
Region names on areas wide enough to hold them.
final
showLegend → bool
showLegend API.
final
showMarkers → bool?
Point markers. Null follows the chart type.
final
showPercent → bool
Labels are percentages.
final
showValues → bool
showValues API.
final
skew → double
Oblique angle in degrees.
final
smooth → bool
Curve polylines.
final
startAngle → double
Pie and gauge start, in degrees.
final
target → double?
Gauge or bullet target.
final
title → String
Evaluated title.
final
titleFont → ReportFontSpec?
Map title font. Null uses the chart font, enlarged on charts that are not maps.
final
titleInk → ReportColor?
Map title color. Null uses the chart text color.
final
total → ReportColor
Waterfall total.
final
type → ReportChartType
type API.
final
valueFormat → String?
Format spec for value labels.
final
varyColors → bool
Color single-series bars per category.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDrawingml() → String
Native DrawingML c:chartSpace part with literal data (Word, Excel).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited