createRenderer method

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

Create the stacked bar series renderer.

Implementation

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