DefaultSingleValueCategoryModel<C extends Comparable> class
- Inheritance
-
- Object
- ChartModel<
String, C> - AbstractChartModel<
String, C> - DefaultSingleValueCategoryModel
- Implemented types
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<
String> -
Get all series as a collection.
no setteroverride
Methods
-
clear(
) → void -
Clear all data
override
-
getSeriesStyle(
String series, SeriesStyle name) → dynamic -
override
-
getSingleSeriesStyle(
SeriesStyle name) → dynamic -
override
-
getValue(
C category) → num? -
Get value of the specified category.
category
the pie category.override -
getValueColor(
C category) → String? -
override
-
getValueStyle(
C category, SeriesStyle name) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSeriesStyle(
String series, SeriesStyle name, dynamic value) → void -
override
-
setSingleSeriesStyle(
SeriesStyle name, dynamic value) → void -
override
-
setValue(
C category, num? value) → void -
add or update the value of a specified category.
category
the pie category.value
the pie value.override -
setValueColor(
C category, String color) → void -
override
-
setValueStyle(
C category, SeriesStyle name, dynamic value) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited