hideSeries method

  1. @protected
void hideSeries(
  1. String seriesId
)

Hides the data for a series on the chart by seriesId.

The entry in the legend for this series will be grayed out to indicate that it is hidden.

Implementation

@protected
void hideSeries(String seriesId) {
  if (!isSeriesAlwaysVisible(seriesId)) {
    _hiddenSeriesList.add(seriesId);
  }
}