borderRadius property
Customize the corners of the candle.
Each corner can be customized with a specific value or with the same value for all corners.
Defaults to Radius.zero
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <CartesianSeries>[
CandleSeries<_SalesData, String>(
borderRadius: BorderRadius.all(Radius.circular(5))
),
],
);
}
Implementation
final BorderRadius borderRadius;