populateDataSource method
void
populateDataSource([
- List<
ChartValueMapper< ? yPaths,T, num> > - List<
List< ? chaoticYLists,num> > - List<
List< ? yLists,num> > - List<
ChartValueMapper< ? fPaths,T, Object> > - List<
List< ? chaoticFLists,Object?> > - List<
List< ? fLists,Object?> >
override
Implementation
@override
void populateDataSource([
List<ChartValueMapper<T, num>>? yPaths,
List<List<num>>? chaoticYLists,
List<List<num>>? yLists,
List<ChartValueMapper<T, Object>>? fPaths,
List<List<Object?>>? chaoticFLists,
List<List<Object?>>? fLists,
]) {
if (yPaths == null) {
yPaths = <ChartValueMapper<T, num>>[];
chaoticYLists = <List<num>>[];
yLists = <List<num>>[];
}
if (yValueMapper != null) {
yPaths.add(yValueMapper!);
if (sortingOrder == SortingOrder.none) {
chaoticYLists?.add(yValues);
} else {
chaoticYLists?.add(_chaoticYValues);
yLists?.add(yValues);
}
}
super.populateDataSource(
yPaths, chaoticYLists, yLists, fPaths, chaoticFLists, fLists);
if (this is! WaterfallSeriesRenderer) {
populateChartPoints();
}
}