title: AChartEngine Bar Chart Margin Issues
body: <p>to begin, here is a link to what my application currently looks like: <a href="https://i.stack.imgur.com/Qll9l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qll9l.png" alt="ds"></a>
  </p>
  
  <p>Of the two charts shown, I want to get rid of the margin on the left for the bar chart.  Any ideas?</p>
  
  <p>Below are my renderer settings.  I've searched and wasn't able to find people with a similar issue.  It seems like it should be simple...</p>
  
  <pre><code>private void drawBarChart(XYMultipleSeriesDataset dataset) {
      int marginT = 10;
      int marginL = 5;
      int marginB = 10;
      int marginR = 5;
      int[] margins = {marginT, marginL, marginB, marginR};
  
      ...
  
      XYMultipleSeriesRenderer renderer = buildBarRenderer(colors);
      renderer.setOrientation(Orientation.VERTICAL);
      renderer.getSeriesRendererAt(0).setDisplayChartValues(false);
      renderer.getSeriesRendererAt(1).setDisplayChartValues(false);
      renderer.getSeriesRendererAt(2).setDisplayChartValues(false);
      renderer.setLabelsColor(Color.LTGRAY);
      renderer.setAxesColor(Color.BLACK);
      renderer.setYAxisMin(0);
      renderer.setMargins(margins);
      renderer.setYAxisMax(maxYVal);
      renderer.setYLabels(0);
      renderer.setXLabels(0);
      renderer.setXAxisMin(0);
      renderer.setXAxisMax(2);
      renderer.setZoomEnabled(false,false);
      renderer.setPanEnabled(false, false);
      renderer.setBarSpacing(-0.5);
      renderer.setShowAxes(false);
      renderer.setShowLabels(false);
      renderer.setShowLegend(false);
  
      ...
  
      display chart in view
  }
  
  protected XYMultipleSeriesRenderer buildBarRenderer(int[] colors) {
      XYMultipleSeriesRenderer renderer = new XYMultipleSeriesRenderer();
      int length = colors.length;
      for (int i = 0; i &lt; length; i++) {
          SimpleSeriesRenderer r = new SimpleSeriesRenderer();
          r.setColor(colors[i]);
          renderer.addSeriesRenderer(r);
      }
      return renderer;
  }
  </code></pre>
  
  <p>Any help would be greatly appreciated, thanks!</p>