title: Plot time against date in asp.net chart control
body: <p>Im using <strong>System.Web.UI.DataVisualization.Charting</strong>
  for creating charts.</p>
  
  <p>I want to plot different timevalues against the different dates </p>
  
  <p>where Time values will be in Y axis and Date Values will be in X axis.</p>
  
  <p>I tried using </p>
  
  <pre><code>     chart.Series[0].XValueType = ChartValueType.Date;
       chart.Series[0].YValueType = ChartValueType.Time;
  </code></pre>
  
  <p>For adding im taking from </p>
  
  <pre><code>     Dictionary&lt;DateTime,DateTime&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>     chart.Series[0].Points.AddXY(item.Key.ToOADate(),item.Value.ToOADate());
  </code></pre>
  
  <p>But it is giving a 45 degree line chart  but i want it like a trend Report.</p>