title: How to set value in x axis label in achartengine
body: <p>Actually, in my app, I have created a graph using <code>achartEngine</code>. In these in the x-axis initially, I am displaying value from 1 to 31. Now instead of displaying this is it possible to display values like <code>1-03-2012</code>, <code>2-03-2012</code>, <code>3-03-2012</code> ... and so on up to last day current month and when it reaches last day of current month i.e. <code>31-03-2012</code> the value display after that should be
  <code>1-04-2012</code> <code>2-04-2012</code>...and so on. The code I have used while displaying value like 1 2 3 4 5... is given below. Can anyone help me to solve this out?</p>
  <p><strong>code for graph</strong></p>
  <pre><code> renderer = new XYMultipleSeriesRenderer(2);        
      int length = colors.length;     
      for (int i = 0; i &lt; length; i++) 
      {
          XYSeriesRenderer r = new XYSeriesRenderer();
          r.setColor(colors[i]);
          r.setPointStyle(styles[i]);
          renderer.addSeriesRenderer(r);
      }
      
      int rendererLength = renderer.getSeriesRendererCount();
      for (int i = 0; i &lt; rendererLength; i++) 
      {
        ((XYSeriesRenderer) renderer.getSeriesRendererAt(i)).setFillPoints(true);
      }               
      renderer.setAxisTitleTextSize(12);
      renderer.setChartTitleTextSize(12);
      renderer.setLabelsTextSize(10);
      renderer.setLegendTextSize(12);
      renderer.setPointSize(5f);
      
      renderer.setApplyBackgroundColor(true);
      renderer.setBackgroundColor(Color.parseColor(&quot;#F5F5F5&quot;));
      renderer.setMarginsColor(Color.parseColor(&quot;#F5F5F5&quot;));
      
      renderer.setChartTitle(&quot;Weight / Temperature&quot;);
      renderer.setXLabels(20);
      renderer.setXTitle(sdFormatter.format(currentDate));        
      renderer.setXAxisMin(1);
      renderer.setXAxisMax(nMaxDay);
      renderer.setXLabelsAlign(Align.CENTER);
                  
      renderer.setYLabels(10);  
      renderer.setYTitle(&quot;Weight&quot;, 0);
      renderer.setYTitle(&quot;Temperature&quot;, 1);
      renderer.setYAxisMin(10, 0);
      renderer.setYAxisMax(90, 0);
      renderer.setYAxisMin(10, 1);
      renderer.setYAxisMax(90, 1);
      renderer.setYAxisAlign(Align.LEFT, 0);
      renderer.setYAxisAlign(Align.RIGHT, 1);
      renderer.setYLabelsAlign(Align.LEFT, 0);
      renderer.setYLabelsAlign(Align.RIGHT, 1);
      
      renderer.setAxesColor(Color.LTGRAY);
      renderer.setLabelsColor(Color.parseColor(&quot;#5f5f5f&quot;));          
      renderer.setShowGrid(true);
      renderer.setGridColor(Color.GRAY);
  </code></pre>
  <p><strong>screenshot shot</strong>
  <img src="https://i.stack.imgur.com/b52B1.png" alt="enter image description here" /></p>