How to give names in PieChart each slice Coreplot

2019-07-29 12: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条回答
迷人小祖宗
2楼-- · 2019-07-29 13:05

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

查看更多
登录 后发表回答