seriesRenderer property

CircularSeriesRenderer seriesRenderer
latefinal

Used to access the series properties.

Defaults to null.

Widget build(BuildContext context) {
   ChartSeriesController _chartSeriesController;
   return Container(
       child: SfCircularChart(
           series: PieSeries<SalesData, num>(
                   onRendererCreated: (CircularSeriesController controller) {
                      _chartSeriesController = controller;
                      // prints series yAxisName
                     print(_chartSeriesController.seriesRenderer.seriesRendererDetails.series.yAxisName);
                   },
               ),
       )
    );
}

Implementation

late final CircularSeriesRenderer seriesRenderer;