This is a migrated thread and some comments may be shown as answers.

Display Live Data

7 Answers 519 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David Hosey
Top achievements
Rank 1
David Hosey asked on 30 Apr 2009, 10:53 AM
Hello,

I am looking for a way to display Live data using Grid in a Windows Form.
The Numerical Axis example is the closest sample I found to what I am looking for, but I am looking for a functionality to show Live data and update the chart every 5 seconds lets say.
I want to have a Timer on my Windows application with lets say 5000 ms interval, and generate a random number and add it to the end of chart series but remove the first instance as well, so it looks that it is moving and is live.
Just exactly the same as CPU usage history when you go to task manager in windows under performance tab.

I appreciate any suggestions or tips on how to achieve this.

Many thanks,
Mehdi Entezary

7 Answers, 1 is accepted

Sort by
0
Accepted
Ves
Telerik team
answered on 01 May 2009, 07:14 AM
Hello Mehdi,

Please, find attached a small example, showing a possible approach to this task. You will only need to add Telerik.WinControls.RadChart.dll.

Kind regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David Hosey
Top achievements
Rank 1
answered on 26 May 2009, 01:51 PM
Thanks for your post.
The only issue I have now is performance. I need lets say 3 charts on the form to show the live data for the last 15 min for every seconds. You should see my CPU Usage. Up in the sky !!!!
Any suggestions? Thanks
0
Ves
Telerik team
answered on 29 May 2009, 06:31 AM
Hi David,

RadChart will have problems when it is heavily loaded. While the product was designed to be easily customizable and feature rich it does not cope well with extremely busy charts. We are continually improving performance as we go but still the bottom line is that the control is targeted for casual situations which do not require a high performance solution. There is a trade off to make between high customization and high performance and we've gone the rich features path as it is what most of our customers are interested in. A possible solution would be to combine several datapoints into one i.e. graph one point for each 2 or 3 seconds.

Kind regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Brad
Top achievements
Rank 2
answered on 13 Apr 2010, 05:22 AM
Ves,

I am looking at charting data in the range of 10 per second in three charts. Is this even possible with WinForms or do I need to go to WPF?

Thanks,

Joe B
0
Ves
Telerik team
answered on 16 Apr 2010, 08:18 AM
Hello Joe,

I am not sure I followed you completely -- do you need 3 charts updated 10 times per second? I do not think that would be feasible, especially if these charts are loaded with hundreds of points (and that would not be too hard if you add 10 points every second). Instead, I would suggest accumulating the data and adding a point to the chart every second or so. Still, I am sure you have your specific requirements, so accept our apologies if RadChart is not able to meet your needs.

Finally, as you mentioned WPF -- I would encourage you to give RadChart for WPF a try, even if you decide to stay with our winforms chart for the moment.

Best regards,
Ves
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Satendra
Top achievements
Rank 1
answered on 07 Jul 2012, 05:59 AM
Hi

    my problem i have used telrik grid combobox  if combobox on select index changed then fill data in grid but open new pop
0
Evgenia
Telerik team
answered on 11 Jul 2012, 08:12 AM
Hi Satendra,

 What controls are you having problems with? Could you be more specific on what is your exact problem and what is preventing you from achieving it?
Please note that this forum is for RadChart for WinForms. If your question is regarding another product or/and technology , please ask them in their corresponding forum threads.

Regards,
Evgenia
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
Chart (obsolete as of Q1 2013)
Asked by
David Hosey
Top achievements
Rank 1
Answers by
Ves
Telerik team
David Hosey
Top achievements
Rank 1
Brad
Top achievements
Rank 2
Satendra
Top achievements
Rank 1
Evgenia
Telerik team
Share this question
or