iPhone CorePlot : Candle Stick , 放大和缩小时如何设置每根棍子之间的距离?

标签 iphone charts core-plot

CorePlot:蜡烛棒,

如何在放大和缩小时设置更大的每根棍子之间的距离?

当我尝试缩小时,它看起来真的很糟糕。

如何修复它?

enter image description here

enter image description here

最佳答案

您有多种选择:

  1. 使用 barWidth 属性使条形变窄。

  2. 过滤数据以显示更少的条形。在绘图上调用 -reloadData 以加载过滤后的数据。

  3. 使整个图表更宽(在 iPhone 上可能不是一个选项,但在 iPad 或 Mac 应用程序中可能很实用)。

关于iPhone CorePlot : Candle Stick , 放大和缩小时如何设置每根棍子之间的距离?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8291531/

相关文章:

ios - 如何使 2 个 CPTXYPlotSpace 都在其中一个 CPTXYPlotSpace 上响应相同的手势?

ios - Core Plot 中的 expandRangeByFactor 方法出错

iphone - 使UIImage符合NSCopying协议(protocol)

android - Iphone 与 Android 的等价物 关闭 View

c# - WPF 图表控件

javascript - Highcharts 主从图表的问题

objective-c - 核心剧情: How to position the axis title for two y-axes at the same height?

iphone - 如何将附加阴影添加到 uinavigationbar 和 uitoolbar

iphone - iOS 上有任何使用 Core Text 的优秀文本扩展应用程序吗?

java - 如何使用 Java 中的 AnyChart for Android 创建 BubbleMap