createRenderer method

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

Create the column series renderer.

Implementation

@override
ColumnSeriesRenderer<T, D> createRenderer() {
  ColumnSeriesRenderer<T, D> seriesRenderer;
  if (onCreateRenderer != null) {
    seriesRenderer = onCreateRenderer!(this) as ColumnSeriesRenderer<T, D>;
    // ignore: unnecessary_null_comparison
    return seriesRenderer;
  }
  return ColumnSeriesRenderer<T, D>();
}