ChartSet<X, Y> class

Data Set, usually for Gauge and Pie Charts.

Inheritance

Constructors

ChartSet(Map<X, Y> set, {ChartSetOptions? options})

Properties

asChartSeries → ChartSeries
no setter
categories → List<X>
The categories (usually X axis) of the Chart.
no setteroverride
categoriesAsStrings → List<String>
Same as categories, but as String.
no setterinherited
colors ↔ Map<X, String>?
Colors of each category.
getter/setter pairinherited
colorsDarker → Map<X, String>
Darker colors of each category.
no setterinherited
colorsLighter → Map<X, String>
Lighter colors of each category.
no setterinherited
disabledColors ↔ Map<X, String>?
Colors of each category when disabled.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
Returns true if this is empty.
no setteroverride
isNotEmpty → bool
![isEmpty]
no setterinherited
lastRenderedChart ↔ RenderedChart?
Last instance of RenderedChart for this ChartData. Only populated if populateLastRenderedChart is true.
getter/setter pairinherited
options ↔ ChartSetOptions
The options for set data: ChartSetOptions
getter/setter pairoverride-getter
populateLastRenderedChart ↔ bool
If true will populate lastRenderedChart
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
set ↔ Map<X, Y>
getter/setter pair
setSorted → Map<X, Y>
no setter
title ↔ String?
The title of the Chart.
getter/setter pairinherited
xAxisAllValues → Iterable<X>
Returns all values of axis X.
no setteroverride
xAxisScale → Scale<X>?
Returns the Scale of axis X.
no setterinherited
xLabels → List<X>
no setter
xTitle ↔ String?
Title of X axis. If null it won't be rendered.
getter/setter pairinherited
yAxisAllValues → Iterable<Y>
Returns all values of axis Y.
no setteroverride
yAxisScale → Scale<Y>?
Returns the Scale of axis Y.
no setterinherited
yTitle ↔ String?
Title of Y axis. If null it won't be rendered.
getter/setter pairinherited

Methods

ensureColors(ColorGenerator colorGenerator) → void
Ensure that the Colors Map is set, using a colorGenerator.
inherited
getXAxisValue(int index) → X
Returns a X value at index.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setColors(ColorGenerator colorGenerator) → void
Set the Colors Map using a colorGenerator.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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