createRenderer method

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

Create the bubble series renderer.

Implementation

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