borderRadius property
Customizes the data label border radius.
Defaults to 5
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <SplineSeries<SalesData, num>>[
SplineSeries<SalesData, num>(
dataLabelSettings: DataLabelSettings(
isVisible: true,
borderRadius: 3,
borderColor: Colors.red,
borderWidth: 2),
),
],
));
}
Implementation
final double borderRadius;