Quaries on Real Time trending

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Avijit
Newbie
Newbie
Posts: 72
Joined: Tue Sep 15, 2009 12:00 am

Quaries on Real Time trending

Post by Avijit » Wed Dec 23, 2009 8:20 am

Hi TeeChart Team,
I am developing a generic chart control that can be used for displaying data as trend and also real time trending of data.
I have gone through the Real Time charting example in the Demo.
I have few quaries for trending the data at real time-

Is it possible to update a single data point at the start potiontion of the Series?
- Suppose i have one series with 200000 data points. I want to show only 1000 data points at any time. Once user scroll, from the actual data source (a double[]) i get the index value and update the series with the new value. Is it possible without drawing the whole control again?

Similarly, one more proper example -
Suppose I have to collect 10 days data of 10 seconds frequency at real time. I have set the chart control to show only 2 hours data at a time. Now once the data starts updating, till first 2 hours its ok, now once the data exceeds 2 hours, i want to remove the data added first in the series and adding the latest data in the Series(same as shown in the TeeChart Demo). In that case once automatic HScroll bar should be visible. Once user scrolls 1 data point in the history, i will get the indexed data from actual data source(a double array) and add it at the first position of the series (??) and remove one data from the Last positoin. Is these possible? If possible then, will it draw the whole chart control again? Will there be any flickering in the control for these small scroll if the data to show at a time is much more (say 5 days)?
It will be very helpful if you can upload an example of these things. I have seen very limited topics on real time trending. This may help the TeeChart users.
Thanks in advance.

Regards,
Avijit

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Quaries on Real Time trending

Post by Sandra » Wed Dec 23, 2009 12:16 pm

Hello Avijit,
I am developing a generic chart control that can be used for displaying data as trend and also real time trending of data
Please bear in mind that if you are developing a charting control, please check that your organisation has a license in place to permit distribution of such a control.
Is it possible to update a single data point at the start position of the Series?
- Suppose I have one series with 200000 data points. I want to show only 1000 data points at any time. Once user scroll, from the actual data source (a double[]) I get the index value and update the series with the new value. Is it possible without drawing the whole control again?
I'm sorry, but you don't update a only one value in the series. If you would update one value only solution is that update all Series.
Similarly, one more proper example -
Suppose I have to collect 10 days data of 10 seconds frequency at real time. I have set the chart control to show only 2 hours data at a time. Now once the data starts updating, till first 2 hours its ok, now once the data exceeds 2 hours, i want to remove the data added first in the series and adding the latest data in the Series(same as shown in the TeeChart Demo). In that case once automatic HScroll bar should be visible.
I recommend that you read next explanation in article, because I think that can help you in it and previous question. Also you can see example of Demo Welcome !\Speed\Realtime charting but instead of adding data behind you add data to front. For example if you have data between 10 and 20 you can add value in 9. If you can get values to Min and Max values of Bottom Axis.
Once user scrolls 1 data point in the history I will get the indexed data from actual data source (a double array) and add it at the first position of the series (??) and remove one data from the last position. Is these possible?
Is not possible to add directly and array maintaining series data. You must loop through the series and add points manually.
If possible then, will it draw the whole chart control again? Will there be any flickering in the control for these small scroll if the data to show at a time is much more (say 5 days)?
It's relative, because this depends of more factors, for example: number of series, number point of series, depends of elements of chart appearing, etc.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Avijit
Newbie
Newbie
Posts: 72
Joined: Tue Sep 15, 2009 12:00 am

Re: Quaries on Real Time trending

Post by Avijit » Wed Dec 23, 2009 2:47 pm

Hi
Please bear in mind that if you are developing a charting control, please check that your organisation has a license in place to permit distribution of such a control.
We have valid license for design and development.
Please let me know if we require any extra license for distribution.

Regards,
Avijit

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Quaries on Real Time trending

Post by Narcís » Wed Dec 23, 2009 2:53 pm

Hi Avijit,

Please let us know the exact nature of the charting control you spoke about. Is this a control which includes TeeChart and which you distribute to your clients? Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Avijit
Newbie
Newbie
Posts: 72
Joined: Tue Sep 15, 2009 12:00 am

Re: Quaries on Real Time trending

Post by Avijit » Wed Dec 23, 2009 3:45 pm

Hi,
Yes. This is one Charting control which includes TeeChart and this charting control is hosted in anothor Form(our main Application).

Regards,
Avijit

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Quaries on Real Time trending

Post by Narcís » Wed Dec 23, 2009 4:08 pm

Hi Avijit,

Is this control only used in your own applications or is also distributed as such?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Avijit
Newbie
Newbie
Posts: 72
Joined: Tue Sep 15, 2009 12:00 am

Re: Quaries on Real Time trending

Post by Avijit » Wed Dec 23, 2009 4:43 pm

Hi,
The Charting Control that uses TeeChart is only used in our Application.

Regards,
Avijit

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Quaries on Real Time trending

Post by Narcís » Thu Dec 24, 2009 8:07 am

Hi Avijit,

Ok, thanks for the info. I think license is correct then.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply