iPhone:核心图、饼图

发布于 2024-12-02 18:18:32 字数 241 浏览 4 评论 0原文

我有一个使用 Core Plot 构建的饼图。我也用过

-(CPTLayer *)dataLabelForPlot:(CPTPlot *)绘图 recordIndex:(NSUInteger)索引

为每个切片添加标签的索引。

我想要做的是将文本中的行添加到切片,并使其可单击,因为切片可能太小,并且用户单击该切片会变得困难。有谁有什么想法吗?提前致谢...

I have a pie chart that I build using Core Plot. Also I used

-(CPTLayer *)dataLabelForPlot:(CPTPlot *)plot
recordIndex:(NSUInteger)index

to add labels to every slice.

What I want to do is to add line from text to slice, and make it clickable, because slice can be too small, and that will be vary hard for user to click on that slice. Have any body any idea ? Thanks in advance...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

︶葆Ⅱㄣ 2024-12-09 18:18:32

Core Plot 目前不支持这一点。您可以在问题跟踪器上请求新功能。

That isn't supported in Core Plot right now. You can request a new feature on the issue tracker.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文