gpt4 book ai didi

iphone - 核心情节: x-Axis should remain visible while scrolling horizontally (or vice versa)

转载 作者:行者123 更新时间:2023-12-03 16:08:14 24 4
gpt4 key购买 nike

我正在使用核心图来制作具有长 xAxis 范围的折线图。我将图表的垂直方向固定/恒定,并让它仅水平滚动。但是,如果我开始水平滚动/滑动,y 轴将不会移动(如 x 标签)。 y 轴仅在图表的起点处可见。如果有人可以帮助我,我将不胜感激。预先非常感谢您。

最佳答案

使用axisConstraints:

y.axisConstraints = [CPTConstraints constraintWithLowerOffset:0.0];

关于iphone - 核心情节: x-Axis should remain visible while scrolling horizontally (or vice versa),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9277560/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com