title: how to change display value of x axis in bar graph-achartengine
body: <p>I'm using achartengine library forline graph.Instead of timestamp how can i show date in x-axis
  <img src="https://i.stack.imgur.com/ebkGD.png" alt="enter image description here"></p>
  
  <p>my code is</p>
  
  <pre><code>public GraphicalView getLine(Context context, LinkedHashMap&lt;String, List&lt;Item&gt;&gt; data, String value2, String value3) {
  
  
          List&lt;TimeSeries&gt; series=new ArrayList&lt;TimeSeries&gt;();
          Set&lt;String&gt; keys = data.keySet();
          for(String key:keys)
          {
              TimeSeries series1 = new TimeSeries(key); 
              List&lt;Item&gt; value=data.get(key);
              for(Item itm:value)
              {
                  Double temp=Double.parseDouble(itm.getDataItem(value3));
                  String temp1=null;
                  if(value2.equals("created_time"))
                  {
  
                      temp1=itm.getCreated_time();
                  }
                  else
                  {
                      try
                      {
                      temp1=itm.getModified_time();
                      }
                      catch (NullPointerException e) {
                          temp1=itm.getCreated_time();
                      }
  
  
                  }
                  Timestamp timestamp = new Timestamp(Integer.parseInt(temp1.substring(0,10)));
                  Date date = new Date(timestamp.getTime()*1000);
  
                  series1.add(date,temp);
  
              }
              series.add(series1);
          }
  
  
  
  
          XYMultipleSeriesDataset dataset = new XYMultipleSeriesDataset();
          for(TimeSeries serie:series)
          {
  
              dataset.addSeries(serie); 
  
          }
  
  
          XYMultipleSeriesRenderer mRenderer = new XYMultipleSeriesRenderer(); // Holds a collection of XYSeriesRenderer and customizes the graph
          mRenderer.setBackgroundColor(Color.BLACK);
          mRenderer.setZoomEnabled(true);
          mRenderer.setAntialiasing(true);
  
          for(TimeSeries serie:series)
          {
          XYSeriesRenderer renderer = new XYSeriesRenderer(); // This will be used to customize line 1
          mRenderer.addSeriesRenderer(renderer);
  
          int color;
          Random rnd = new Random(); 
          color = Color.argb(200, rnd.nextInt(256), rnd.nextInt(256), rnd.nextInt(256));  
          renderer.setColor(color);
  
          renderer.setPointStyle(PointStyle.CIRCLE);
          renderer.setFillPoints(true);
  
          }
          return ChartFactory.getLineChartView(context, dataset, mRenderer);
  
  
      }
  </code></pre>