title: How to generate a graph from an excel worksheet using C#
body: <p>I am writing code that writes some data to an Excel file using C# (using <code>Office.InterOp.Excel</code>).  Now I have to select two columns out of the 10 in the worksheet and plot a graph between the two.  This has to be done using only C#.  </p>
  
  <p>Any ideas?  Most examples I found on the net are for fixed data values.  What if the data values are not known before hand? </p>