ChartSeries<C, X, Y, P> class
Data Series, usually for Line Charts.
- Inheritance
- Implementers
Constructors
-
ChartSeries(List<
X> xLabels, Map<C, List< series, {ChartSeriesOptions? options})P> >
Properties
-
categories
→ List<
C> -
The categories (usually X axis) of the Chart.
no setteroverride
-
categoriesAsStrings
→ List<
String> -
Same as categories, but as String.
no setterinherited
-
colors
↔ Map<
C, String> ? -
Colors of each category.
getter/setter pairinherited
-
colorsDarker
→ Map<
C, String> -
Darker colors of each category.
no setterinherited
-
colorsLighter
→ Map<
C, String> -
Lighter colors of each category.
no setterinherited
-
disabledColors
↔ Map<
C, 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 ↔ ChartSeriesOptions
-
The options for series data: ChartSeriesOptions
getter/setter pairoverride-getter
- populateLastRenderedChart ↔ bool
-
If
true
will populate lastRenderedChartgetter/setter pairinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
series
→ Map<
C, List< P> > -
final
-
seriesSortedByCategory
→ Map<
C, List< P> > -
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
no setterinherited
-
xLabels
→ List<
X> -
final
- 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
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 atindex
.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