title: Achartengine legend location
body: <p>Does anyone know how to change the location of the legend?  I am trying to expand the graph to make use of all the space.</p>
  
  <p>So far I have </p>
  
  <blockquote>
    <p>mRenderer.setMargins(new int[] { 20, 30, -50, 0 });</p>
  </blockquote>
  
  <p>This expands the graph lower but the legend stays in the same location so it is now above the x axis</p>
  
  <p>I tried </p>
  
  <blockquote>
    <p>mRenderer.setLegendHeight(5);</p>
  </blockquote>
  
  <p>with both negative and positive values.  I'm not sure what this is supposed to do but it makes my graph go wayyyy low on the the screen (turns it into a scrollable view).</p>
  
  <p>Also, may not be important but this is in a fragment and is a XYChart type.</p>