createRenderer method

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

Create the stacked area series renderer.

Implementation

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