createRenderer method

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

Create the spline area series renderer.

Implementation

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