SingleValueCategoryModel<S extends Comparable, C extends Comparable> class
abstract
- Inheritance
-
- Object
- ChartModel<
S, C> - SingleValueCategoryModel
- Implementers
Constructors
Properties
-
categories
→ List<
C> -
Get categories as a collection.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
series
→ List<
S> -
Get all series as a collection.
no setterinherited
Methods
-
clear(
) → void -
Clear all data
inherited
-
getSeriesStyle(
S series, SeriesStyle name) → dynamic -
inherited
-
getSingleSeriesStyle(
SeriesStyle name) → dynamic -
getValue(
C category) → num? -
Get value of the specified category.
category
the pie category. -
getValueColor(
C category) → String? -
getValueStyle(
C category, SeriesStyle name) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSeriesStyle(
S series, SeriesStyle name, dynamic value) → void -
inherited
-
setSingleSeriesStyle(
SeriesStyle name, dynamic value) → void -
setValue(
C category, num? value) → void -
add or update the value of a specified category.
category
the pie category.value
the pie value. -
setValueColor(
C category, String color) → void -
setValueStyle(
C category, SeriesStyle name, dynamic value) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- DEFAULT_SERIES ↔ String
-
getter/setter pair