Search code examples
iosipadcore-graphicsquartz-2dpie-chart

draw pie chart using iOS quartz 2D


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.

Note: Not looking for Coreplot framework.

Please share me some links regarding the same.


Solution

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

    Available on github.

    Link is given below:

    https://github.com/xyfeng/XYPieChart

    Still needs any help then let me know.