LineChartDataType enum
Defines how values of the LineChartData.data must be represented.
Main usage of this type comes in periodical types of LineChartGridType, e.g. LineChartGridType.monthly. Map LineChartData.data might not be fulfilled with all required periodical values, so it will be fulfilled with values that will satisfy the selected rule.
For mode details on rules - see values of this enum.
Please note, if unidirectional is set, then LineChartData.data will be validated to satisfy the unidirectional rule.
Also please note, if LineChartGridType.undefined is set, then this value will be omitted.
Constructors
- LineChartDataType()
-
const
Values
- bidirectional → const LineChartDataType
-
No restrictions on values.
Default value for fulfillment of gaps in LineChartData.data is
0
. - unidirectional → const LineChartDataType
-
All value of the LineChartData.data are either ascending or descending.
Default value for fulfillment of gaps in LineChartData.data is
previous
value. If there is noprevious
value - default value will be acquired based on LineChartDataDirection.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LineChartDataType> - A constant List of the values in this enum, in order of their declaration.