borderRadius property

double borderRadius
final

Customizes the data label border radius.

Defaults to 5.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <SplineSeries<SalesData, num>>[
      SplineSeries<SalesData, num>(
        dataLabelSettings: DataLabelSettings(
          isVisible: true,
          borderRadius: 3,
          borderColor: Colors.red,
          borderWidth: 2
        ),
      ),
    ],
  );
}

Implementation

final double borderRadius;