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,
]) {
if (sortingOrder == SortingOrder.none) {
super.updateDataPoints(
removedIndexes,
addedIndexes,
replacedIndexes,
<ChartValueMapper<T, num>>[],
<List<num>>[],
<List<num>>[],
<ChartValueMapper<T, Object>>[sizeValueMapper ?? _defaultSize],
<List<Object?>>[_sizes],
);
} else {
_sizes.clear();
super.updateDataPoints(
removedIndexes,
addedIndexes,
replacedIndexes,
<ChartValueMapper<T, num>>[],
<List<num>>[],
<List<num>>[],
<ChartValueMapper<T, Object>>[sizeValueMapper ?? _defaultSize],
<List<Object?>>[_chaoticSizes],
<List<Object?>>[_sizes],
);
}
}