DefaultCategoryModel<S extends Comparable, C extends Comparable> class

Inheritance
Implemented types

Constructors

DefaultCategoryModel()

Properties

categories List<C>
Get categories of a specified series as a collection.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
keys List<List>
Get (series, category) pairs of this chart data model. The returned value is a collection of List where list0 is the series, list1 is the category, in the order the setValue is called.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
series List<S>
Get all series as a collection.
no setteroverride

Methods

clear() → void
Clear all data
override
getSeriesStyle(S series, SeriesStyle name) → dynamic
inherited
getValue(S series, C category) num?
Get value of the specified series and category. series - the series category - the category.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSeriesStyle(S series, SeriesStyle name, dynamic value) → void
inherited
setValue(S series, C category, num? value) → void
add or update the value of a specified series and category. series - the series category - the category. value - the value
override
toString() String
A string representation of this object.
inherited

Operators

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