createRenderer method

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

Create the histogram series renderer.

Implementation

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