createRenderer method
Create the circular series renderer.
Implementation
@override
DoughnutSeriesRenderer<T, D> createRenderer() {
DoughnutSeriesRenderer<T, D>? seriesRenderer;
if (onCreateRenderer != null) {
seriesRenderer = onCreateRenderer!(this) as DoughnutSeriesRenderer<T, D>;
// ignore: unnecessary_null_comparison
return seriesRenderer;
}
return DoughnutSeriesRenderer<T, D>();
}