title: Displaying x- axis label in bar chart using MPAndroidChart is not working as expected
body: <p>X-axis values are getting overlap and i need to make it exactly below to the bar</p>
  
  <p><a href="https://i.stack.imgur.com/5uNDq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5uNDq.png" alt="https://i.stack.imgur.com/5uNDq.png"></a>` </p>
  
  <pre><code>BarDataSet dataSet = new BarDataSet(barEntryArrayList, "Invoice Qty");
          BarData lineData = new BarData(dataSet);
          chart.setFitBars(true);
          XAxis xAxis =chart.getXAxis();
          xAxis.setValueFormatter(new AxisValueFormatter(labels));
          xAxis.setGranularityEnabled(true);
          xAxis.setGranularity(1f);
         /* xAxis.setSpaceMax(lineData.getBarWidth() / 2f);
          xAxis.setSpaceMin(lineData.getBarWidth()/2f);*/
          //xAxis.setLabelRotationAngle(-120f);
          xAxis.setPosition(XAxis.XAxisPosition.BOTTOM);
          xAxis.setCenterAxisLabels(true);
          YAxis yAxisRight = chart.getAxisRight();
          yAxisRight.setEnabled(false);
          chart.setData(lineData);
          chart.getDescription().setEnabled(false);
          chart.invalidate();`
  </code></pre>