Refreshing of Graph in VB.net

TeeChart for ActiveX, COM and ASP
Post Reply
Ajith Nair
Newbie
Newbie
Posts: 49
Joined: Wed Aug 18, 2004 4:00 am

Refreshing of Graph in VB.net

Post by Ajith Nair » Fri Aug 04, 2006 9:45 am

Hi,

My problem is related to delaying other process while refreshing bulk of data.

I have two session of Graph representation.
1. 10 Graph represent 10 channels of real time data from a device.
2. Cumulative Graph from all the 10 channels.

I am using Label formatting in bottom axis for time representation. In the beginning stage there is no problem. But when I have more than 50,000 data, in cumulative Graph it’s taking long time to refresh data. By that time my all the timers are getting delayed. I think will have to give Doevent in some of the Graph events. May I know in which Event I will have to place this doevent. Or if there is any other solution pls suggest me.

Thanks in advance,

Sincerely yours,
Ajith

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Aug 07, 2006 9:20 am

Hi Ajith,

have you looked the example included into the Demo features project under All Features -> Welcome ! -> Speed -> Delete Point range ?
I think this could be a good option for you, the use of DeleteRange method, it's used to limite the use of memory.
Plese take a look at it and if you still having problem let us know.

Ajith Nair
Newbie
Newbie
Posts: 49
Joined: Wed Aug 18, 2004 4:00 am

Post by Ajith Nair » Mon Aug 07, 2006 10:22 am

Hi Jorge,

Thanks for the reply.

In this case I will not be able to see my old data.

Is it not possible to generate other process's which is in other timer's in between when the cumilative Graph is ploting? In my case, once cumilative graph finished with refreshing, software starts generate all the other process.

Sincerely yours,
Ajith

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Aug 07, 2006 1:22 pm

Hi,

I'm not test it but I'm not sure if this would help. Does the Cumulative Chart must be refreshed every time the Series of all other Chart has been updated (adding data) ?

There're other speed tricks which can be found here :
http://www.teechart.net/reference/modul ... icle&sid=6
(These are for vcl version bug some of them can be applied to the ActiveX version).

Ajith Nair
Newbie
Newbie
Posts: 49
Joined: Wed Aug 18, 2004 4:00 am

Post by Ajith Nair » Mon Aug 07, 2006 2:04 pm

Hi,

Yes cumilative Graph is updated whenever the the other series is updated. And measurement is done in Minumum of 15 Sec. interval. Let me try as you suggested in URL.

By that time incase if you get another solution, pls forward to me.


B Regards
Ajith

Ajith Nair
Newbie
Newbie
Posts: 49
Joined: Wed Aug 18, 2004 4:00 am

Post by Ajith Nair » Tue Aug 08, 2006 8:53 am

Hi Jorge,

When I changed to Fastline mode its working fine righ now. I will put it for long measurement like more than 7 day to test the same.

Thanks for the help,

Sincerely yours,
Ajith

Post Reply