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,
]) {
super.populateDataSource(
yPaths, chaoticYLists, yLists, fPaths, chaoticFLists, fLists);
_resetYLists();
/// Calculate [StackYValues] based on empty point modes with yValues.
_applyDropOrGapEmptyPointModes(this);
/// Calculate [topValues] and [bottomValues] as stacked values.
_calculateStackingValues(this);
/// The [topValues] are not calculated,
/// when chartSeriesRenderer populateDataSource method calling.
/// So, only we invoke the trendline data source method calling after
/// stacking values calculated.
_populateTrendlineDataSource();
populateChartPoints();
}