Line Graphs in VB Forms

Help,
I would like to use the data entered in my form to be displayed as a line graph in another form. How do I create a XY Line Graph with a line going through my data points.


Answer this question

Line Graphs in VB Forms

  • nateastle

    You may also want to try the free chart control (graph library) from here: http://msdn.microsoft.com/smartclient/codesamples/windowsforms/default.aspx.  This was written by a member of our team (Dinesh Chandnani) and is what we (the Windows Forms team) use in many of our samples.

    Joe Stegman
    The Windows Forms Team
    Microsoft Corp.

    This posting is provided "AS IS" with no warranties, and confers no rights.


  • Geetha Srinivasan

    You have three choices.

    1) Learn about the System.Drawing namespace to draw anything you can imagine.
    2) Feed the data into Excel and let it draw the chart.
    3) Pay massive amounts of money to buy a 3rd party charting control from someone who has done #1 for you.

    -Ryan / Kardax

  • Line Graphs in VB Forms