title: C# chart data won't display
body: <p>Hi I'm writing a Windows Form App in C # under VS 2010.
  I'm trying to implement a chart and used the following code to display data in the chart:</p>
  
  <pre><code>for(int i=0;i&lt;256;i++){
  chart1.Series["Val"].Points.AddXY(i, his[i]);
  }
  </code></pre>
  
  <p>his[i] is an integer array. My problem is the chart area is just blank.
  The code compiles totally fine, so I have no idea what I'm doing wrong.
  Any idea ?</p>
  
  <p>EDIT: </p>
  
  <p>I found out that the chart does show up, but I have to minimize my program than again
  otherwise it won't show. Any one know why ?</p>