New thread to draw the chart?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Carson
Newbie
Newbie
Posts: 2
Joined: Wed Apr 14, 2010 12:00 am

New thread to draw the chart?

Post by Carson » Fri Oct 22, 2010 8:32 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: New thread to draw the chart?

Post by Narcís » Mon Oct 25, 2010 8:52 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply