CPBarPlot 宽度/间距
我正在使用 (CPBarPlot *)barPlot.barWidth
修改图表中条形的宽度,但条形之间的间距不会改变,并且它们现在相互重叠。 barPlot.barOffset
对于初始偏移量非常有用,但我无法弄清楚如何更改后续条形之间的间距。似乎我必须更改轴上间隔间距的某些内容,但我在 CPBarPlot 中没有看到任何与间隔间距相关的内容。有人知道如何实现这一点吗?
I am modifying the width of bars in a graph by using (CPBarPlot *)barPlot.barWidth
, but the spacing between bars does not change and they now overlap each other. barPlot.barOffset
works great for the initial offset, but I haven't been able to figure out how to change the spacing between subsequent bars. It seems like I have to change something with the spacing of intervals on the axis, but I don't see anything related to interval spacing in CPBarPlot
. Anyone know how this can be accomplished?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
这是一篇可能有助于解决此问题的帖子:http://mela.ertale.com/blog /?p=193
祝你好运!
Here's a post that might help out with this issue: http://mela.ertale.com/blog/?p=193
Good luck!