I am drawing a surface chart. After adding the points, there is about a 3 second delay until the chart appears on the screen. Is there an event or property of the chart that indicates that the screen has been updated?
Thank you.
M Weingarden
Event when screen updates after drawing points
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MTW,
You could try using TChart's OnAfterDraw event for that.
You could try using TChart's OnAfterDraw event for that.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Thank you for your suggestion. However, it appears that whenever a change is made to the chart (eg. the title), the event occurs when the drawing is complete. I want to be able to set a flag when the surface plot is complete. However, when I clear the flag, before adding the points, the flag gets set from some other change made previously to the chart.
Is there any indication that the chart drawing is in an active state or some other way for me to know that the chart has not been completed yet?
Thanks
M Weingarden
Is there any indication that the chart drawing is in an active state or some other way for me to know that the chart has not been completed yet?
Thanks
M Weingarden
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MTW,
In that case you might be interested in using Series's OnAfterDrawValues or OnBeforeAdd and OnAfterAdd events and TChart's OnBeforeDrawChart, OnAfterDraw, OnBeforeDrawSeries and OnBeforeDrawAxes.
If this doesn't help please give us some more information on what are you exactly trying to achieve so that we can make a more accurate suggestion.
In that case you might be interested in using Series's OnAfterDrawValues or OnBeforeAdd and OnAfterAdd events and TChart's OnBeforeDrawChart, OnAfterDraw, OnBeforeDrawSeries and OnBeforeDrawAxes.
If this doesn't help please give us some more information on what are you exactly trying to achieve so that we can make a more accurate suggestion.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |