简体   繁体   中英

Creating something similar to a pie chart on iOS

For a project, I have to represent data on something that 'looks' like a pie chart but really isn't. I have to put the data on the circle with 'pie' pieces but in varying circle width and varying transparancy.

Is there something which would let me create such graphics?

EDIT:

It has to be able to look like this:

http://i.stack.imgur.com/i2BjS.jpg

And perhaps even some weather info in the black circle.. That's all possible with an object from plot core?

yes of course. you can use coreplot for this pupose. check this: http://code.google.com/p/core-plot/wiki/PlotExamples . It is the best framework to be used for charts in my experience.

You may need to refer HUChart . It is for semi-circle chart, but you can customize the source code for your purpose, or even easier, you can open an issue and request the author support you a chart like your desire.

Try this it's worked for me ,

You can use dlpiechart class of dilipajm in GitHub, then, modify property & var for your purpose. Hope it's useful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM