clearSeries method
- String seriesId
Clears all points from the specified series.
The series will still exist but will be empty. Notifies listeners after clearing.
Implementation
void clearSeries(String seriesId) {
final series = _seriesData[seriesId];
if (series == null) return;
series.clear();
_revision++;
notifyListeners();
}