toggleSeriesHighlight method

void toggleSeriesHighlight(
  1. int seriesIndex
)

Implementation

void toggleSeriesHighlight(int seriesIndex) {
  if (_disposed) return;
  if (_highlightedSeries.contains(seriesIndex)) {
    _highlightedSeries.remove(seriesIndex);
  } else {
    _highlightedSeries.add(seriesIndex);
  }
  _notifyIfAlive();
}