groupTo property

double? groupTo
final

Groups the data points of the series based on their index or values.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
               PieSeries<ChartData, String>(
                 groupTo: 4,
               ),
           ],
       )
   );
}

Implementation

final double? groupTo;