createRenderer method

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

Create the stacked area series renderer.

Implementation

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