开发者

Core-Plot: How to keep axises are always at bottom-left side of screen

开发者 https://www.devze.com 2023-01-05 16:50 出处:网络
Currently, I can keep the axises at开发者_如何学Python bottom-left side of screen by using CPConstraints, isFloatingAxis and set a properly value for orthogonalCoordinateDecimal, but when I change the

Currently, I can keep the axises at开发者_如何学Python bottom-left side of screen by using CPConstraints, isFloatingAxis and set a properly value for orthogonalCoordinateDecimal, but when I change the xRange and yRange value, the axises are moved, so is there anyway to keep them always at bottom-left side without re-calculate and change orthogonalCoordinateDecimal value?


I found an workaround solution that just set FloatingAxis = YES and rthogonalCoordinateDecimal is 0, do not use CPConstraints, then the axises are always stay at the bottom-left border.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号