Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop scrolling of AChartEngine dynamic line graph along the y-axis?

I have set min max range for y-axis values but graph can scroll beyond those values which hampers the look and feel of graph. I wish to control/stop scrolling of graph along the y-axis. How can I do that?

like image 572
vikram Avatar asked Dec 05 '22 13:12

vikram


1 Answers

What you need is specify which axis panning is available for: mRenderer.setPanEnabled(boolean enabledX, boolean enabledY)

Click here for more

like image 69
mango Avatar answered Apr 29 '23 23:04

mango