TreemapChartSpec class
A Treemap chart.
Constructors
- TreemapChartSpec({ChartData? colorData, TreemapChartColorScale? colorScale, Color? headerColor, ColorStyle? headerColorStyle, bool? hideTooltips, int? hintedLevels, ChartData? labels, int? levels, double? maxValue, double? minValue, ChartData? parentLabels, ChartData? sizeData, TextFormat? textFormat})
- TreemapChartSpec.fromJson(Map json_)
Properties
- colorData ↔ ChartData?
-
The data that determines the background color of each treemap data cell.
getter/setter pair
- colorScale ↔ TreemapChartColorScale?
-
The color scale for data cells in the treemap chart.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerColor ↔ Color?
-
The background color for header cells.
getter/setter pair
- headerColorStyle ↔ ColorStyle?
-
The background color for header cells.
getter/setter pair
- hideTooltips ↔ bool?
-
True to hide tooltips.
getter/setter pair
- hintedLevels ↔ int?
-
The number of additional data levels beyond the labeled levels to be shown
on the treemap chart.
getter/setter pair
- labels ↔ ChartData?
-
The data that contains the treemap cell labels.
getter/setter pair
- levels ↔ int?
-
The number of data levels to show on the treemap chart.
getter/setter pair
- maxValue ↔ double?
-
The maximum possible data value.
getter/setter pair
- minValue ↔ double?
-
The minimum possible data value.
getter/setter pair
- parentLabels ↔ ChartData?
-
The data the contains the treemap cells' parent labels.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeData ↔ ChartData?
-
The data that determines the size of each treemap data cell.
getter/setter pair
- textFormat ↔ TextFormat?
-
The text format for all labels on the chart.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited