drawInternal method

void drawInternal(
  1. List<MutableSeries<D>> seriesList, {
  2. bool? skipAnimation,
  3. bool? skipLayout,
})

Implementation

void drawInternal(List<MutableSeries<D>> seriesList,
    {bool? skipAnimation, bool? skipLayout}) {
  seriesList = seriesList
      .map((MutableSeries<D> series) => MutableSeries<D>.clone(series))
      .toList();

  // TODO: Handle exiting renderers.
  if (skipAnimation != null) {
    _animationsTemporarilyDisabled = skipAnimation;
  }

  configureSeries(seriesList);

  // Allow listeners to manipulate the processed seriesList.
  fireOnPreprocess(seriesList);

  _rendererToSeriesList = preprocessSeries(seriesList);

  // Allow listeners to manipulate the processed seriesList.
  fireOnPostprocess(seriesList);

  _currentSeriesList = seriesList;
}