seriesRenderer property

FunnelSeriesRenderer<T, D> seriesRenderer
final

Used to access the series properties.

Defaults to null.

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

Implementation

final FunnelSeriesRenderer<T, D> seriesRenderer;