preProcessSeriesList method

  1. @override
void preProcessSeriesList(
  1. List<MutableSeries<D>> seriesList
)
override

Overridable method that may be used by concrete Legend instances to manipulate the series list.

Implementation

@override
void preProcessSeriesList(List<MutableSeries<D>> seriesList) {
  seriesList.removeWhere((series) => _hiddenSeriesList.contains(series.id));
}