title: SetPanLimits() with dates in the axis Achartengine
body: <p>I have a graph where the information in the x Axis are dates. I want to limit the pan but I don't know how to do it with dates!</p>
  
  <p>I found this question but has no answer yet!</p>
  
  <p><a href="https://stackoverflow.com/questions/7540841/achartengine-messed-up-labels">AChartEngine Messed up labels</a></p>
  
  <p>Thanks!</p>
  
  <p>Solution: I did it in a very ugly way, so if anyone comes out with a better idea I would be happy to hear. What I did:</p>
  
  <pre><code>double[] limits = new double[] {xMin-(81300000 *3),xMax+(81300000 *3),yMin,yMax};
  </code></pre>
  
  <p>This way I limit it to three days before and after my first and last date.</p>