title: How to plot graph in windows form using Zedgraph library?
body: <pre><code>zedGraphControl1.GraphPane.CurveList.Clear();
  GraphPane mygraphpane = zedGraphControl1.GraphPane;
  PointPairList p1 = new PointPairList(time, distance);
  LineItem c1 = mygraphpane.AddCurve("Best Solution", p1, Color.Black);
  </code></pre>
  
  <p>I am using this code, time &amp; distance changed on every mouse click, but it still showing a straight line. Is there any thing missing here?</p>