Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使两个轴都静止,但绘图可移动?我的意思是只移动图(轴内是什么),而不是轴。我的客户讨厌那个轴,他们的标签一起移动。有可能做出这样的事情,所以我的客户会很高兴吗?
axisConstraints在每个轴上设置。
axisConstraints
x.axisConstraints = [CPTConstraints constraintWithLowerOffset:0.0]; y.axisConstraints = [CPTConstraints constraintWithLowerOffset:0.0];