无法在CorePlot中像环一样实现饼图

时间:2014-01-29 10:22:28

标签: ios objective-c charts core-plot pie-chart

我使用iOS CorePlot在我的应用程序中实现饼图。

设计是:

enter image description here

但我的结果并不那么完美:

enter image description here

有没有办法让这个图表像一个环并在各个部分之间添加空白区域?

2 个答案:

答案 0 :(得分:1)

pieChart.pieInnerRadius 

解决了这个问题 - 谢谢

答案 1 :(得分:1)

pieInnerRadius设为发号。使用borderLineStyle在饼图切片之间制作白线。

相关问题