ChartTimeSeries<C, Y> class

Time Series, for Time Series Charts. Each entry should be a pair of DateTime and Value.

Inheritance

Constructors

ChartTimeSeries(Map<C, List> series)

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 lastRenderedChart
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
series Map<C, List>
finalinherited
seriesSortedByCategory Map<C, List>
no setterinherited
stringPairDelimiterPattern RegExp
getter/setter pairinherited
title String?
The title of the Chart.
getter/setter pairinherited
xAxisAllValues Iterable<DateTime>
Returns all values of axis X.
no setterinherited
xAxisScale → Scale<DateTime?>?
Returns the
no setterinherited
xKeys List<String>?
Possible X keys in Map.
getter/setter pairinherited
xLabels List<DateTime?>
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 setterinherited
yAxisScale → Scale<Y>?
Returns the
no setterinherited
yKeys List<String>?
Possible Y keys in Map.
getter/setter pairinherited
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.
inherited
ensureColors(ColorGenerator colorGenerator) → void
Ensure that the Colors Map is set, using a colorGenerator.
inherited
getPairX(dynamic pair) DateTime?
inherited
getPairXY(dynamic pair, List returnXY) → void
inherited
getPairY(dynamic pair) → Y?
inherited
getXAxisValue(int index) DateTime?
Returns a X value at index.
inherited
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.
inherited
seriesAsPairsOfList({bool sortSeriesByCategory = false, bool mapDateTimeToMillis = true}) Map<C, List<List>>
Returns series as pairs of List.
inherited
seriesAsPairsOfMap({bool sortSeriesByCategory = false, bool mapDateTimeToMillis = true}) Map<C, List<Map<String, dynamic>>>
Returns series as pairs of Map.
inherited
seriesDateTime({bool sortSeriesByCategory = false}) Map<C, List<DateTime>>
Returns series DateTime values.
inherited
seriesDateTimeMinMax({bool sortSeriesByCategory = false}) Map<C, List<DateTime>>
Returns the DataTime minimum and maximum value for each series.
inherited
seriesEntriesAsTOHLC({Map<C, List>? series, TypeMapper? tMapper, TypeMapper? oMapper, TypeMapper? hMapper, TypeMapper? lMapper, TypeMapper? cMapper, bool mapDateTimeToMillis = false}) Map<C, List<Map<String, dynamic>>>
inherited
seriesPairsAsList({Map<C, List>? series, TypeMapper? xMapper, TypeMapper? yMapper, bool mapDateTimeToMillis = false}) Map<C, List<List>>
Used to normalize series for engines that requires a pair as Lista,b.
inherited
seriesPairsAsMap({Map<C, List>? series, TypeMapper? xMapper, TypeMapper? yMapper, bool mapDateTimeToMillis = false}) Map<C, List<Map<String, dynamic>>>
Used to normalize series for engines that requires a pair as Map{x,y}.
inherited
setColors(ColorGenerator colorGenerator) → void
Set the Colors Map using a colorGenerator.
inherited
setPairXY(dynamic pair, DateTime x, Y y) → dynamic
inherited
swapListOfPairs(List list) List
inherited
swapPair(dynamic pair) → dynamic
Swaps a Pair XY.
inherited
swapPairAsList(List pair) List
Swaps a Pair when is a List.
inherited
swapPairAsMap(Map pair) Map
Swaps a Pair when is a Map.
inherited
swapPairAsPair(Pair pair) → Pair
Swaps a Pair when is of type Pair.
inherited
swapPairAsString(String pair) String
Swaps a Pair when is a String.
inherited
swapXY() ChartSeriesPair<C, Y, DateTime, dynamic>
Copies this series swapping the XY pairs.
inherited
toListOfDateTime(Iterable list) List<DateTime>
inherited
toListOfPairsAsList(List listOfPairs, {TypeMapper? xMapper, TypeMapper? yMapper}) List<List>
inherited
toListOfPairsAsMap(List listOfPairs, {TypeMapper? xMapper, TypeMapper? yMapper}) List<Map<String, dynamic>>
inherited
toListOfTOHLC(List listOfPairs, {TypeMapper? tMapper, TypeMapper? oMapper, TypeMapper? hMapper, TypeMapper? lMapper, TypeMapper? cMapper}) List<Map<String, dynamic>>
inherited
toPair<R>(dynamic pair, PairMapper<R, DateTime?, Y?> typeWrapper) → R?
inherited
toPairAsList(dynamic pair, {TypeMapper? xMapper, TypeMapper? yMapper}) List?
inherited
toPairAsMap(dynamic pair, {TypeMapper? xMapper, TypeMapper? yMapper}) Map<String, dynamic>?
inherited
toPairImpl<R>(dynamic a, dynamic b, PairMapper<R, DateTime?, Y?> typeWrapper) → R
Actual implementation of pair values.
inherited
toString() String
A string representation of this object.
inherited

Operators

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