title: Fast Plotting in MSCharts with C#
body: <p>I need to update a FastLine plot in a MS Chart using C# <strong>every 1 ms</strong>. I have two arrays of 2048 elements, one for the X values (<code>xValue</code>) and one for the Y values (<code>yValue</code>). At the moment I am doing it like this:</p>
  
  <pre><code>chart1.Series[0].Points.Clear();
  
  for (int i = 0; i &lt; 2048; i++)
  {
      chart1.Series[0].Points.AddXY(xValue[i], yValue[i]);
  }    
  </code></pre>
  
  <p>The problem is that this is very slow (5% of the speed I need)... </p>
  
  <p><strong><em>How can I do it in a faster, more efficient way?</em></strong></p>