I'm just testing a time chart for AChartEngine with android. My current chart uses the code found here: how to implement TimeChart in achartengine with android this makes a time graph fine it works except it does not scroll. the line mRenderer.setPanEnabled(true) should make it scrollable (or panable) as i understand it but it does not seem to work. I've tried both changing it to mRenderer.setPanEnabled(true, true) and removing it alltogether however no matter what i do the graph doesn't allow me to scroll in any direction. Any idea how to fix this?
Asked
Active
Viewed 3,150 times
1 Answers
8
Try this:
mRenderer.setPanEnabled(true, true);
mRenderer.setClickEnabled(false);

Dan D.
- 32,246
- 5
- 63
- 79
-
This is it! My problem was i had setClickEnabled to true, thanks a bunch! – curtisq Jul 10 '12 at 13:58