mode property
By default, gap will be generated for empty points, i.e. data points with null value.
The empty points display the values that can be considered as zero, average, or gap.
Defaults to EmptyPointMode.gap
.
Also refer EmptyPointMode.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <BubbleSeries<BubbleColors, num>>[
BubbleSeries<BubbleColors, num>(
emptyPointSettings: EmptyPointSettings(EmptyPointMode.zero),
),
],
));
}
Implementation
final EmptyPointMode mode;