ChartSeriesPair<C, X, Y, P> class
Pair Series, for Scatter or Timed Charts. Each entry should be a pair P of values X and Y.
- Inheritance
-
- Object
- ChartData<
C, X?, Y> - ChartSeries<
C, X?, Y, P> - ChartSeriesPair
- Implementers
Constructors
-
ChartSeriesPair(Map<
C, List< series)P> >
Properties
-
categories
→ List<
C> -
The categories (usually X axis) of the Chart.
no setterinherited
-
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 setterinherited - 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 pairinherited
- 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> > -
finalinherited
-
seriesSortedByCategory
→ Map<
C, List< P> > -
no setterinherited
- stringPairDelimiterPattern ↔ RegExp
-
getter/setter pair
- 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
-
xKeys
↔ List<
String> ? -
Possible X keys in Map.
getter/setter pair
-
xLabels
→ List<
X?> -
finalinherited
- 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
-
yKeys
↔ List<
String> ? -
Possible Y keys in Map.
getter/setter pair
- yTitle ↔ String?
-
Title of Y axis. If null it won't be rendered.
getter/setter pairinherited
Methods
-
allSeriesDateTimeMinMax(
{bool sortSeriesByCategory = false}) → List< DateTime> ? -
Returns the
DataTime
minimum and maximum value of all series. -
ensureColors(
ColorGenerator colorGenerator) → void -
Ensure that the Colors Map is set, using a
colorGenerator
.inherited -
getPairX(
P pair) → X? -
getPairXY(
P pair, List returnXY) → void -
getPairY(
P pair) → Y? -
getXAxisValue(
int index) → X? -
Returns a
X
value atindex
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
seriesAsEntriesOfTOHLC(
{bool sortSeriesByCategory = false, bool mapDateTimeToMillis = true}) → Map< C, List< Map< >String, dynamic> > - Returns series as entries of TOHLC Maps.
-
seriesAsPairsOfList(
{bool sortSeriesByCategory = false, bool mapDateTimeToMillis = true}) → Map< C, List< List> > - Returns series as pairs of List.
-
seriesAsPairsOfMap(
{bool sortSeriesByCategory = false, bool mapDateTimeToMillis = true}) → Map< C, List< Map< >String, dynamic> > - Returns series as pairs of Map.
-
seriesDateTime(
{bool sortSeriesByCategory = false}) → Map< C, List< DateTime> > - Returns series DateTime values.
-
seriesDateTimeMinMax(
{bool sortSeriesByCategory = false}) → Map< C, List< DateTime> > -
Returns the
DataTime
minimum and maximum value for each series. -
seriesEntriesAsTOHLC(
{Map< C, List< ? series, TypeMapper? tMapper, TypeMapper? oMapper, TypeMapper? hMapper, TypeMapper? lMapper, TypeMapper? cMapper, bool mapDateTimeToMillis = false}) → Map<P> >C, List< Map< >String, dynamic> > -
seriesPairsAsList(
{Map< C, List< ? series, TypeMapper? xMapper, TypeMapper? yMapper, bool mapDateTimeToMillis = false}) → Map<P> >C, List< List> > -
Used to normalize series for engines that requires a pair as List
a,b
. -
seriesPairsAsMap(
{Map< C, List< ? series, TypeMapper? xMapper, TypeMapper? yMapper, bool mapDateTimeToMillis = false}) → Map<P> >C, List< Map< >String, dynamic> > - Used to normalize series for engines that requires a pair as Map{x,y}.
-
setColors(
ColorGenerator colorGenerator) → void -
Set the Colors Map using a
colorGenerator
.inherited -
setPairXY(
P pair, X x, Y y) → P? -
swapListOfPairs(
List< P> list) → List -
swapPair(
dynamic pair) → dynamic - Swaps a Pair XY.
-
swapPairAsList(
List pair) → List - Swaps a Pair when is a List.
-
swapPairAsMap(
Map pair) → Map - Swaps a Pair when is a Map.
-
swapPairAsPair(
Pair pair) → Pair -
Swaps a Pair when is of type
Pair
. -
swapPairAsString(
String pair) → String - Swaps a Pair when is a String.
-
swapXY(
) → ChartSeriesPair< C, Y, X, dynamic> - Copies this series swapping the XY pairs.
-
toListOfDateTime(
Iterable list) → List< DateTime> -
toListOfPairsAsList(
List< P> listOfPairs, {TypeMapper? xMapper, TypeMapper? yMapper}) → List<List> -
toListOfPairsAsMap(
List< P> listOfPairs, {TypeMapper? xMapper, TypeMapper? yMapper}) → List<Map< String, dynamic> > -
toListOfTOHLC(
List< P> listOfPairs, {TypeMapper? tMapper, TypeMapper? oMapper, TypeMapper? hMapper, TypeMapper? lMapper, TypeMapper? cMapper}) → List<Map< String, dynamic> > -
toPair<
R> (dynamic pair, PairMapper< R, X?, Y?> typeWrapper) → R? -
toPairAsList(
P pair, {TypeMapper? xMapper, TypeMapper? yMapper}) → List? -
toPairAsMap(
P pair, {TypeMapper? xMapper, TypeMapper? yMapper}) → Map< String, dynamic> ? -
toPairImpl<
R> (dynamic a, dynamic b, PairMapper< R, X?, Y?> typeWrapper) → R - Actual implementation of pair values.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited