-
October 20th, 2011, 11:14 AM
#1
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.
-
October 20th, 2011, 02:24 PM
#2
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!
-
October 25th, 2011, 01:34 PM
#3
Re: how to plot the graph in real time using c#
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|