Charts icon indicating copy to clipboard operation
Charts copied to clipboard

feat: Add radius corners to BarChartView / HorizontalBarChartView / CandleStickChartView

Open xusion opened this issue 2 years ago • 0 comments

Goals :soccer:

Add radius corners to BarChartView / HorizontalBarChartView / CandleStickChartView

Implementation Details :construction:

Cylindrical charts use rounded corners to be more beautiful and more in line with human design

Testing Details :mag:

usage: BarChartView / HorizontalBarChartView: let set = BarChartDataSet() set.barRadius = 3.0 set.barCorner = [.topLeft, .topRight] //.allCorners

CandleStickChartView: let set = CandleChartDataSet() set.barRadius = 3.0 set.barCorner = [.topLeft, .topRight] //.allCorners

xusion avatar Jun 03 '23 07:06 xusion