seriesRenderer property

CartesianSeriesRenderer<T, D> 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 CartesianSeriesRenderer<T, D> seriesRenderer;