0
我正在使用Core Plot在我的应用程序中显示图形,并且我希望缩放缩放功能可独立缩放X和Y轴。当缩放缩放时,手势应该生成一个X坐标分量和一个Y坐标分量,它们应该以不同的方式缩放坐标轴。使用Core Plot独立(非均匀)缩放X和Y轴
If the user's two fingers are on a straight vertical line, the graph should only be scaled on the Y axis.
If the user's two fingers are on a straight horizontal line, the graph should only be scaled on the X axis.
If the user's two fingers are on a straight line between 01.30 and 07.30 on a Clock (45 degrees), the graph should be scaled equally on the X and Y axis - I hope you get the idea.
这怎么能实现?核心绘图总是将我的绘图在X和Y上均等缩放,而不管用户的手指放置方式如何。\