Series<T, D> class

Constructors

Series({required String id, required List<T> data, required TypedAccessorFn<T, D> domainFn, required TypedAccessorFn<T, num?> measureFn, String? displayName, Color? seriesColor, TypedAccessorFn<T, Color>? areaColorFn, TypedAccessorFn<T, Color>? colorFn, TypedAccessorFn<T, List<int>?>? dashPatternFn, TypedAccessorFn<T, DomainFormatter<D>>? domainFormatterFn, TypedAccessorFn<T, D?>? domainLowerBoundFn, TypedAccessorFn<T, D?>? domainUpperBoundFn, TypedAccessorFn<T, Color?>? fillColorFn, TypedAccessorFn<T, Color>? patternColorFn, TypedAccessorFn<T, FillPatternType>? fillPatternFn, TypedAccessorFn<T, String>? keyFn, TypedAccessorFn<T, String>? labelAccessorFn, TypedAccessorFn<T, TextStyleSpec>? insideLabelStyleAccessorFn, TypedAccessorFn<T, TextStyleSpec>? outsideLabelStyleAccessorFn, TypedAccessorFn<T, MeasureFormatter>? measureFormatterFn, TypedAccessorFn<T, num?>? measureLowerBoundFn, TypedAccessorFn<T, num?>? measureUpperBoundFn, TypedAccessorFn<T, num>? measureOffsetFn, bool overlaySeries = false, TypedAccessorFn<T, num>? radiusPxFn, String? seriesCategory, TypedAccessorFn<T, num?>? strokeWidthPxFn})
factory

Properties

areaColorFn → AccessorFn<Color>?
areaColorFn returns the area color for a given data value. If not provided, then some variation of the main colorFn will be used (e.g. 10% opacity).
final
attributes → SeriesAttributes
final
colorFn → AccessorFn<Color>?
colorFn returns the rendered stroke color for a given data value.
final
dashPatternFn → AccessorFn<List<int>?>?
dashPatternFn returns the dash pattern for a given data value.
final
data List<T>
final
displayName String?
final
domainFn → AccessorFn<D>
final
domainFormatterFn → AccessorFn<DomainFormatter<D>>?
final
domainLowerBoundFn → AccessorFn<D?>?
final
domainUpperBoundFn → AccessorFn<D?>?
final
fillColorFn → AccessorFn<Color?>?
fillColorFn returns the rendered fill color for a given data value. If not provided, then colorFn will be used as a fallback.
final
fillPatternFn → AccessorFn<FillPatternType>?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
insideLabelStyleAccessorFn → AccessorFn<TextStyleSpec>?
final
keyFn → AccessorFn<String>?
keyFn defines a globally unique identifier for each datum.
final
labelAccessorFn → AccessorFn<String>?
final
measureFn → AccessorFn<num?>
final
measureFormatterFn → AccessorFn<MeasureFormatter>?
final
measureLowerBoundFn → AccessorFn<num?>?
final
measureOffsetFn → AccessorFn<num>?
final
measureUpperBoundFn → AccessorFn<num?>?
final
outsideLabelStyleAccessorFn → AccessorFn<TextStyleSpec>?
final
overlaySeries bool
Overlay series provided supplemental information on a chart, but are not considered to be primary data. They should not be selectable by user interaction.
final
patternColorFn → AccessorFn<Color>?
patternColorFn returns the background color of tile when a FillPatternType beside solid is used. If not provided, then background color is used.
final
radiusPxFn → AccessorFn<num>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seriesCategory String?
final
seriesColor Color?
Color which represents the entire series in legends.
final
strokeWidthPxFn → AccessorFn<num?>?
final

Methods

getAttribute<R>(AttributeKey<R> key) → R?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAttribute<R>(AttributeKey<R> key, R value) → void
toString() String
A string representation of this object.
inherited

Operators

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