groupMode property
Slice can also be grouped based on the data points value or based on index.
Defaults to CircularChartGroupMode.point
.
Also refer CircularChartGroupMode.
Widget build(BuildContext context) {
return Container(
child: SfCircularChart(
series: <PieSeries<ChartData, String>>[
PieSeries<ChartData, String>(
groupMode: CircularChartGroupMode.value,
),
],
)
);
}
Implementation
final CircularChartGroupMode? groupMode;