How to give names in PieChart each slice Coreplot iphone?

杀马特。学长 韩版系。学妹 提交于 2019-12-11 08:46:16

问题


I draw PieChart with 4 slices in iPhone app. I want to add Names in each Slice in Pie Chart. Am using Core-Plot9. And also i want to give different colors for each slice in PieChart. How can do this? Please suggest me any idea/sample code to do this. Please help me. Thanks in advance.


回答1:


download the samples from given link then go to CorePlot_0.9->Source->examples->CPTTestApp-iPhone check this sample. it will give you an idea how to solve your problem? core plot example



来源:https://stackoverflow.com/questions/8741528/how-to-give-names-in-piechart-each-slice-coreplot-iphone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!