Page 1 of 1

Refreshing of Graph in VB.net

Posted: Fri Aug 04, 2006 9:45 am
by 9523665
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

Posted: Mon Aug 07, 2006 9:20 am
by Pep
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.

Posted: Mon Aug 07, 2006 10:22 am
by 9523665
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

Posted: Mon Aug 07, 2006 1:22 pm
by Pep
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).

Posted: Mon Aug 07, 2006 2:04 pm
by 9523665
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

Posted: Tue Aug 08, 2006 8:53 am
by 9523665
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