2

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?

Community
  • 1
  • 1
curtisq
  • 73
  • 1
  • 2
  • 7

1 Answers1

8

Try this:

mRenderer.setPanEnabled(true, true);
mRenderer.setClickEnabled(false);
Dan D.
  • 32,246
  • 5
  • 63
  • 79