borderRadius property

BorderRadius borderRadius
final

Customizes the corners of the bar.

Each corner can be customized with desired value or with a single value.

Defaults to Radius.zero.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <BarSeries<SalesData, num>>[
      BarSeries<SalesData, num>(
        borderRadius: BorderRadius.all(Radius.circular(5))
      ),
    ],
  );
}

Implementation

final BorderRadius borderRadius;