populateChartPoints method
void
populateChartPoints({})
override
Method excepts BoxAndWhiskerSeries, and stacking series.
Implementation
@override
void populateChartPoints({
List<ChartDataPointType>? positions,
List<List<num>>? yLists,
}) {
if (this is WaterfallSeriesRenderer) {
super.populateChartPoints(positions: positions, yLists: yLists);
return;
}
if (yLists == null) {
yLists = <List<num>>[yValues];
positions = <ChartDataPointType>[ChartDataPointType.y];
} else {
yLists.add(yValues);
positions!.add(ChartDataPointType.y);
}
super.populateChartPoints(positions: positions, yLists: yLists);
}