开发者

How to lock y axis movement in achartengine bar chart?

开发者 https://www.devze.com 2023-03-11 23:18 出处:网络
I\'d like to use achartengine for my development. I\'m using achartengine. But I want my bar chart not move along y axis. In default we can move the cha开发者_运维技巧rt along x and y axis. But I just

I'd like to use achartengine for my development. I'm using achartengine. But I want my bar chart not move along y axis. In default we can move the cha开发者_运维技巧rt along x and y axis. But I just want to making movement in x axis only. How can I do it?? Anyone can help?


Use renderer.setPanEnabled(true, false); in order to get that behavior.

If you want to lock both axis, then use renderer.setPanEnabled(false, false);

0

精彩评论

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