DefaultSingleValueCategoryModel<C extends Comparable> class
- Inheritance
-
- Implemented types
-
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
-
getLegendIndex(C category)
→ int?
-
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
-
setLegendIndex(C category, int? value)
→ void
-
override
-
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