createRenderer method
To create a stacked line series renderer.
Implementation
@override
StackedLineSeriesRenderer<T, D> createRenderer() {
StackedLineSeriesRenderer<T, D> stackedLineSeriesRenderer;
if (onCreateRenderer != null) {
stackedLineSeriesRenderer =
onCreateRenderer!(this) as StackedLineSeriesRenderer<T, D>;
return stackedLineSeriesRenderer;
}
return StackedLineSeriesRenderer<T, D>();
}