|
-
May 16th, 2000, 03:04 PM
#1
Thread Starter
New Member
I am updating a chart from MSChart every 0.5 sec.
The problem is when I do that the chart is flickering.
Does anybody now how I can stop this?
Thanks
-
May 16th, 2000, 09:18 PM
#2
Member
before it actually updates the chart check to see if the data has changed from the last time it checked. if so, update it...if not don't do anything. that will get rid of the flicker
-
May 16th, 2000, 09:54 PM
#3
Thread Starter
New Member
I now, but I have to update every 0.5 sec because
de data changes every time.
-
May 17th, 2000, 12:32 AM
#4
Member
hmm, then i would imagine you have that checked within a timer which is set to an interval of 500? the only other thing i can think of is to not refresh the chart every .5 seconds. in other words refresh the data every .5 seconds but update the chart only every 5 seconds or so.
the problem of the flickering in your case seems to be caused because you are refreshing it so frequently that it has trouble redrawing the chart in the alloted time. so you have to do something to slow it down to give it time to draw it before it has to draw it over again. if you must have the data refreshed every .5 seconds then the only way i can think of is what i stated in the beginning of this message..slow down the number of times it has to redraw the chart but still keep the data refreshing every .5 seconds.
hope this helps
-
Jun 29th, 2000, 11:02 AM
#5
Junior Member
I also have this problem. So,can we work together to fix it out.
-
Jul 11th, 2000, 08:06 AM
#6
Thread Starter
New Member
I think it isn't possible to get rid of the flicker.
I am trying to make my own ActiveX Component(only for X-Y).
-
Jul 11th, 2000, 08:59 AM
#7
Lively Member
Is the flickering because you start to change it before it has compleated the last update ?
If so, the only way to get rid of it is to wait until it finished last update.
/AKA
-
Jul 11th, 2000, 09:21 AM
#8
Thread Starter
New Member
It won't help.
First i refreshed my chart every second, but the flickering was very bad, so i changed the refresh time
to 5 sec and it's still flickering.
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
|