mode property

EmptyPointMode mode
final

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 SfCartesianChart(
    series: <BubbleSeries<BubbleColors, num>>[
      BubbleSeries<BubbleColors, num>(
        emptyPointSettings: EmptyPointSettings(
          mode:EmptyPointMode.average
        )
      ),
    ],
  );
}

Implementation

final EmptyPointMode mode;