使用iOS quartz 2D绘制饼图 [英] draw pie chart using iOS quartz 2D

查看:181
本文介绍了使用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.

这篇关于使用iOS quartz 2D绘制饼图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆