seriesRenderer property
Used to access the series properties.
Defaults to null
.
Widget build(BuildContext context) {
ChartSeriesController _chartSeriesController;
return Container(
child: SfPyramidChart(
series: PyramidSeries<SalesData, num>(
onRendererCreated:
(PyramidSeriesController controller) {
_chartSeriesController = controller;
// prints series yAxisName
print(_chartSeriesController.seriesRenderer.
seriesRendererDetails.series.yAxisName);
},
),
)
);
}
Implementation
final PyramidSeriesRenderer<T, D> seriesRenderer;