createRenderer method

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

Create the stacked area series renderer.

Implementation

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