createRenderer method

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

Create the stacked area series renderer.

Implementation

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