ChartSeries class final
One series of a chart: the values of field in each data row.
- Inheritance
-
- Object
- PropRecord
- ChartSeries
Properties
- color → Color
-
no setter
- colorField → String?
-
no setter
- curved → bool
-
no setter
- dashed → bool
-
no setter
- endDot → bool
-
no setter
- endDotHaloColor → Color?
-
no setter
- endLabel → bool
-
no setter
- field → String
-
no setter
- fillOpacity → double
-
no setter
- fillTo → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → ChartSeriesKind
-
no setter
- name → String
-
no setter
- props → Props
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → WidgetSpec
-
The field declarations.
no setteroverride
- stack → String?
-
no setter
- strokeWidth → double
-
no setter
Methods
-
get<
T> (PropDef< T> def) → T -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withColor(
Color color) → ChartSeries
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Object? json) → ChartSeries?
Constants
-
codec
→ const ListCodec<
ChartSeries> -
colorDef
→ const PropDef<
Color> -
colorFieldDef
→ const PropDef<
String?> - A row field holding a per-row color (hex), overriding color.
-
curvedDef
→ const PropDef<
bool> -
dashedDef
→ const PropDef<
bool> -
endDotDef
→ const PropDef<
bool> -
endDotHaloColorDef
→ const PropDef<
Color?> -
endLabelDef
→ const PropDef<
bool> - Line and area series: its name and last value written at the end of its line, in its color (labels of different series are kept apart).
-
fieldDef
→ const PropDef<
String> -
fillOpacityDef
→ const PropDef<
double> -
fillToDef
→ const PropDef<
String?> - Area series: fill down to this field's line instead of the axis.
-
kindDef
→ const PropDef<
ChartSeriesKind> -
nameDef
→ const PropDef<
String> - spec → const WidgetSpec
-
stackDef
→ const PropDef<
String?> - Bar series with the same stack id are stacked into one bar.
-
strokeWidthDef
→ const PropDef<
double>