createRenderer method

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

Create the fastline series renderer.

Implementation

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