enableSmartLabels property
Data label placement without collision.
Defaults to true
Widget build(BuildContext context) {
return Container(
child: SfCircularChart(
series: <PieSeries<ChartData, String>>[
PieSeries<ChartData, String>(
enableSmartLabels: true,
)
),
],
));
}
Implementation
final bool enableSmartLabels;