如何在PieChart中为每片Coreplot iphone命名? [英] How to give names in PieChart each slice Coreplot iphone?

查看:84
本文介绍了如何在PieChart中为每片Coreplot iphone命名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iPhone应用程序中用4个切片绘制了PieChart.我想在饼图中的每个切片中添加名称.我正在使用Core-Plot9.我也想为PieChart中的每个切片提供不同的颜色.怎么办呢?请建议我任何想法/示例代码来执行此操作.请帮我.预先感谢.

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.

推荐答案

从给定链接下载示例,然后转到 CorePlot_0.9->源->示例-> CPTTestApp-iPhone检查此样本.它会给您一个解决问题的方法? 核心图示例

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

这篇关于如何在PieChart中为每片Coreplot iphone命名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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