EmptyPointSettings class
Handling empty points in charts
Data points with a null value are considered empty points. Empty data points are ignored and are not plotted in the chart. By using the emptyPointSettings property in series, you can decide on the action taken for empty points. Disponible modes are gap, zero, drop, and average.
Defaults to EmptyPointMode.gap
.
Note: This is common for Cartesian, circular, pyramid and funnel charts.
Constructors
- EmptyPointSettings({Color color = Colors.grey, EmptyPointMode mode = EmptyPointMode.gap, Color borderColor = Colors.transparent, double borderWidth = 0})
- Creating an argument constructor of EmptyPointSettings class.
Properties
- borderColor → Color
-
Border color of the empty data point.
final
- borderWidth → double
-
Border width of the empty data point.
final
- color → Color
-
Color of the empty data point.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- mode → EmptyPointMode
-
By default, gap will be generated for empty points, i.e. data points with null value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
override