createRenderer method

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

Create the spline area series renderer.

Implementation

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