createRenderer method

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

Create the waterfall series renderer.

Implementation

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