Dear Sir,
Just want to know that is the DBChart/Chart drawing in a new thread?
If yes, is there any property to switch off this feature?
(Since I want to save the chart to a BMP file in synchronize mode instead of using OnAfterDraw event)
Moreover, what is the sequence of the tools drawing on the chart if there are more than one tools?
Why am I asking this question is some tools's properties may be related to another tools's properties.
Thanks.
New thread to draw the chart?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: New thread to draw the chart?
Dear Carson,
I'm not 100% sure about which is your problem or what you are trying to achieve. TeeChart doesn't use threads. What you could do instead of using OnAfterDraw event is calling TChart.Draw() method before exporting it to a bitmap. This forces the chart to being internally painted and therefore all objects are on place for exporting. If this doesn't help please give us more details about your exact problem.
Thanks in advance.
I'm not 100% sure about which is your problem or what you are trying to achieve. TeeChart doesn't use threads. What you could do instead of using OnAfterDraw event is calling TChart.Draw() method before exporting it to a bitmap. This forces the chart to being internally painted and therefore all objects are on place for exporting. If this doesn't help please give us more details about your exact problem.
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 |
Instructions - How to post in this forum |