updateDataPoints method
void
updateDataPoints(
- List<
int> ? removedIndexes, - List<
int> ? addedIndexes, - List<
int> ? replacedIndexes, [ - 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 updateDataPoints(
List<int>? removedIndexes,
List<int>? addedIndexes,
List<int>? replacedIndexes, [
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.updateDataPoints(removedIndexes, addedIndexes, replacedIndexes,
yPaths, chaoticYLists, yLists, fPaths, chaoticFLists, fLists);
/// Clear `stackedYLists` alone instead of resetting `YLists`.
_resetStackedYLists();
/// Calculate [StackYValues] based on empty point modes with yValues.
_applyDropOrGapEmptyPointModes(this);
/// Calculate [topValues] and [bottomValues] as stacked values.
_calculateStackingValues(this);
_populateTrendlineDataSource();
}