createRenderer method

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

Create the Radial bar series renderer.

Implementation

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