createRenderer method

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

To create a step area series renderer.

Implementation

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