dataLabelSettings property

  1. @override
DataLabelSettings dataLabelSettings
final

Customizes the data labels in a series. Data label is a text, which displays the details about the data point.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
             PieSeries<ChartData, String>(
               dataLabelSettings: DataLabelSettings(isVisible: true),
             ),
          ],
       )
    );
}

Implementation

@override
final DataLabelSettings dataLabelSettings;