createRenderer method

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

Create the spline area series renderer.

Implementation

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