使用iOS quartz 2D绘制饼图

问题描述:

我正在寻找一个教程,我可以在iOS中使用Core Graphics或Quartz 2D以编程方式绘制饼图。我想了解如何绘制PIE图表,该图表是渐变并且在其中具有多色填充切片。

I am looking for a tutorial where I can draw pie chart programmatically using Core Graphics or Quartz 2D in iOS. I want to understand how can we draw the PIE Chart which is gradient and having multi-color filled slices in it.

注意:不寻找Coreplot框架。

Note: Not looking for Coreplot framework.

请与我分享一些相关的链接。

Please share me some links regarding the same.

我在我的很多应用程序中使用了XYPieChart库,它很容易修改。

I have used "XYPieChart" library in my so many apps and it's very easy to modify.

在github上可用。

Available on github.

链接如下:

https://github.com/xyfeng/ XYPieChart

仍需要任何帮助,然后告诉我。

Still needs any help then let me know.