EmptyPointMode enum Null safety

Mode of empty data points.

When the data points are given a null value, EmptyPointMode will be triggered.



average → const EmptyPointMode
  • EmptyPointMode.average, will consider the average value of its previous and next data points.
const EmptyPointMode(3)
drop → const EmptyPointMode
  • EmptyPointMode.drop, will drops to a minimum of the axis.
const EmptyPointMode(2)
gap → const EmptyPointMode
  • EmptyPointMode.gap, will consider as gap for the empty points.
const EmptyPointMode(0)
values → const List<EmptyPointMode>

A constant List of the values in this enum, in order of their declaration.

const List<EmptyPointMode>
zero → const EmptyPointMode
  • EmptyPointMode.zero, will consider as 0 value for the empty points.
const EmptyPointMode(1)


hashCode int
The hash code for this object. [...]
read-only, inherited
index int
A numeric identifier for the enumerated value. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]