populateChartPoints method

  1. @override
void populateChartPoints({
  1. List<ChartDataPointType>? positions,
  2. List<List<num>>? yLists,
})
override

Method excepts BoxAndWhiskerSeries, and stacking series.

Implementation

@override
void populateChartPoints({
  List<ChartDataPointType>? positions,
  List<List<num>>? yLists,
}) {
  if (yLists == null) {
    yLists = <List<num>>[_sizes];
    positions = <ChartDataPointType>[
      ChartDataPointType.bubbleSize,
    ];
  } else {
    yLists.add(_sizes);
    positions!.add(ChartDataPointType.bubbleSize);
  }

  super.populateChartPoints(positions: positions, yLists: yLists);
}