title: Approaches to improve chart efficiency in C# winforms?
body: <p>I have a simple chart that prints values read by a photoresistor. Also the chart prints 2 thresholds. My problem is that when more than 300 or 400 points are printed in the chart, it becomes quite unreadable (extraordinarily difficult to read or comprehend all the values printed). </p>
  
  <p>Look at this:</p>
  
  <p><a href="https://i.stack.imgur.com/Kr9Xx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Kr9Xx.jpg" alt="enter image description here"></a></p>
  
  <p>I thought that using an incremental counter and doing this:</p>
  
  <pre><code>if (i &gt; 300) {
     chart1.Invoke(new Action(() =&gt; {chart1.Series[0].Points.Clear(); }));
     chart1.Invoke(new Action(() =&gt; { chart1.Series[1].Points.Clear(); }));
     chart1.Invoke(new Action(() =&gt; { chart1.Series[2].Points.Clear(); }));
     i = 0;
  }
  </code></pre>
  
  <p>The problem is solved as my chart becomes empty and readable again, but I don't want to clear and lose all my previous data. </p>
  
  <p>What alternative solutions can I try so my data won't be deleted, but keeping my chart readable? </p>