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((MutableSeries<D> series) {
return _hiddenSeriesList.contains(series.id);
});
}