seriesRenderer property

XyDataSeriesRenderer seriesRenderer
final

Used to access the series properties.

Defaults to null.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <LineSeries<SalesData, num>>[
      LineSeries<SalesData, num>(
        onRendererCreated: (ChartSeriesController controller) {
          print(controller.seriesRenderer is LineSeriesRenderer);
        },
      ),
    ],
  );
}

Implementation

final XyDataSeriesRenderer seriesRenderer;