title: Date Chart in aChartEngine
body: <p>I have edited my question...</p>
  
  <p>Here is the code I am using, I am adding weight of an animal with time.</p>
  
  <pre><code>    else if (str.equals("Weight"))
      {
          mDbHelper.open();
          wtArray = mDbHelper.getWeight();
          mDbHelper.close();
  
         TimeSeries diaSeries = new TimeSeries("Weight");
  
          for ( int i =0; i &lt;wtArray.size(); i++)
          {
             Weight wt = wtArray.get(i);
             diaSeries.add(wt.date, wt.weight);
          }
  
  
          XYMultipleSeriesDataset dataset = new XYMultipleSeriesDataset();
          dataset.addSeries(diaSeries);
  
          XYMultipleSeriesRenderer mrenderer = new XYMultipleSeriesRenderer();
  
          XYSeriesRenderer renderer = new XYSeriesRenderer();
          renderer.setColor(Color.RED);
          renderer.setPointStyle(PointStyle.DIAMOND);
          renderer.setFillPoints(true);
          mrenderer.addSeriesRenderer(renderer);
  
          graphLayout.addView(ChartFactory.getTimeChartView(this, dataset, mrenderer, "MM/dd/yyyy"));
      }
  </code></pre>
  
  <p>It never shows any value on x axis, i-e time. I am using LinearLayout. Kindly tell me what is wrong. Also no Graph line is showing.</p>
  
  <p>Secondly, What If I want to show data from specific date to another date?</p>