CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Posts
    218

    how to plot the graph in real time using c#

    Dear All,

    I have one laser machine connects with the pc by serial port, by using SerialPort class in C#, I can get the energy data of it,how can I use these data to plot the graph in real time? for example, x axis is time, and y axis is energy.
    Thank you.

  2. #2
    Join Date
    Jun 2011
    Location
    Buenos Aires, Argentina
    Posts
    130

    Re: how to plot the graph in real time using c#

    I'd recommend you take a look at:

    http://archive.msdn.microsoft.com/mschart

    It has a very complete set of examples on using MSChart. You can download the source code and/or use the interactive application to see demos for each type of chart and chart options.
    There's an example on real time charts.

    The only thing I could not find is how to set the line width... almost unbelievable, but so far I could not find how, neither using this example guide or the general properties/internet info.

    Hope it helps!

  3. #3
    Join Date
    Feb 2004
    Posts
    218

    Re: how to plot the graph in real time using c#

    Thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured