updateDataPoints method
void
updateDataPoints(])
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 (highValueMapper != null && lowValueMapper != null) {
if (sortingOrder == SortingOrder.none) {
super.updateDataPoints(
removedIndexes,
addedIndexes,
replacedIndexes,
<ChartValueMapper<T, num>>[highValueMapper!, lowValueMapper!],
<List<num>>[highValues, lowValues],
<List<num>>[],
fPaths,
chaoticFLists,
fLists);
} else {
_resetYLists();
super.updateDataPoints(
removedIndexes,
addedIndexes,
replacedIndexes,
<ChartValueMapper<T, num>>[highValueMapper!, lowValueMapper!],
<List<num>>[_chaoticHighValues, _chaoticLowValues],
<List<num>>[highValues, lowValues],
fPaths,
chaoticFLists,
fLists);
}
}
_applyDropOrGapEmptyPointModes();
}