preProcessSeriesList method
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));
}