createRenderer method

  1. @override
ScatterSeriesRenderer<T, D> createRenderer()
override

Create the scatter series renderer.

Implementation

@override
ScatterSeriesRenderer<T, D> createRenderer() {
  ScatterSeriesRenderer<T, D> seriesRenderer;
  if (onCreateRenderer != null) {
    seriesRenderer = onCreateRenderer!(this) as ScatterSeriesRenderer<T, D>;
    return seriesRenderer;
  }
  return ScatterSeriesRenderer<T, D>();
}