title: How do I get this chart to interperet my time scale?
body: <p>Ok, so I have my chart, working pretty well and plotting what I need. It's using .net charts, the ones that are available in visual studio by default.</p>
  
  <pre><code>for (int i = 0; i &lt; x.Length; i++)
  {
      series1.Points.AddXY(d[i], g[i]);
  }
  </code></pre>
  
  <p>I need it to interpret these dates correctly. At the moment it is plotting each at a set distance regardless of the actual time-scale. </p>
  
  <p>E.g. If I have 5 data points, 4 on the 1st Jan, and one on the 5th of Jan, it will plot them at an equal distance when there should be a larger gap between the 1st Jan and 2nd of Jan. Hope that makes sense. Please ignore the awful grid-lines.</p>
  
  <p>Does anyone know how to do this? Thanks</p>
  
  <p>Edit:
  <code>chart1.ChartAreas[0].AxisX.IntervalType = DateTimeIntervalType.Days;</code> is used as well.</p>