populateChartPoints method
void
populateChartPoints({})
override
Method excepts BoxAndWhiskerSeries, and stacking series.
Implementation
@override
void populateChartPoints({
List<ChartDataPointType>? positions,
List<List<num>>? yLists,
}) {
if (yLists == null) {
yLists = <List<num>>[highValues, lowValues];
positions = <ChartDataPointType>[
ChartDataPointType.high,
ChartDataPointType.low
];
} else {
yLists.add(highValues);
yLists.add(lowValues);
positions!.add(ChartDataPointType.high);
positions.add(ChartDataPointType.low);
}
super.populateChartPoints(positions: positions, yLists: yLists);
}