createRenderer method

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

Create the hilo series renderer.

Implementation

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