dataLabelSettings property
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 SfCartesianChart(
series: <ColumnSeries<ChartData, num>>[
ColumnSeries<ChartData, num>(
dataLabelSettings: DataLabelSettings(isVisible: true),
),
],
);
}
Implementation
final DataLabelSettings dataLabelSettings;