You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a quick check, the pie chart is not simply an arc with rounded cap. It may contains two arc and draw the lines to connect them.
You might need to replace addLine() with arcs as the rounded effect in open func drawDataSet(context: CGContext, dataSet: IPieChartDataSet). You have to calculate your arc though.
Hi,
I'm trying to achieve an effect like that to my pie chart:
( I mean the rounded edges)
I've tried to add
context.setLineCap(.round)
to thePieChartRenderer
but it makes no difference.Does anyone know how I can achieve that?
Thanks.
The text was updated successfully, but these errors were encountered: