borderRadius property

BorderRadius borderRadius
final

Customizes the corners of the bars in histogram series.

Each corner can be customized individually or can be customized together, by specifying a single value.

Defaults to Radius.zero.

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

Implementation

final BorderRadius borderRadius;