createRenderer method

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

Create the Box and Whisker series renderer.

Implementation

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