ChartData class

Manages Chart Data.

Implementers
Annotations

Constructors

ChartData({required List<List<double>> dataRows, required List<String> xUserLabels, required List<String> dataRowsLegends, required ChartOptions chartOptions, List<String>? yUserLabels, dynamic dataRowsColors})
Default constructor only assumes dataRows are set, and assigns default values of dataRowsLegends, dataRowsColors, xUserLabels, yUserLabels.

Properties

chartOptions ChartOptions
Chart options which may affect data validation.
final
dataRows List<List<double>>
Data in rows.
final
dataRowsColors List<Color>
Colors corresponding to each data row (series) in ChartData.
final
dataRowsLegends List<String>
The legends for the dataRows (data series).
final
dataYMax double
no setter
dataYMin double
no setter
flatten List<double>
no setter
hashCode int
The hash code for this object.
no setterinherited
isUsingUserLabels bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xUserLabels List<String>
Labels on independent (X) axis.
final
yUserLabels List<String>?
User defined labels to be used by the chart, instead of labels auto-generated from data.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate() → void

Operators

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