dataLabelSettings property

  1. @override
DataLabelSettings dataLabelSettings
final

Toggles the visibility of the tooltip for this series.

Defaults to true

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
             PieSeries<ChartData, String>(
               dataSource: <ChartData>[
                  ChartData('USA', 10),
                  ChartData('China', 11),
                  ChartData('Russia', 9),
                  ChartData('Germany', 10),
               ],
               dataLabelSettings: DataLabelSettings(isVisible: true),
             ),
            ],
       ));
}

Implementation

@override
final DataLabelSettings dataLabelSettings;