Transparent Chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Bill
Newbie
Newbie
Posts: 17
Joined: Fri Dec 27, 2013 12:00 am

Transparent Chart

Post by Bill » Mon Feb 03, 2014 10:21 pm

Is there a way to make the TChart it self transparent? For example, if I drop two TChart frames on a form, and have the two charts overlapped. Can I set the TChart property so that curves from both charts are displayed, rather then on e chart is covered by another chart?

Thanks

Bill

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

Re: Transparent Chart

Post by Narcís » Tue Feb 04, 2014 8:16 am

Hello Bill,

Yes, here you'll find an example on how to make a transparent chart.
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

Bill
Newbie
Newbie
Posts: 17
Joined: Fri Dec 27, 2013 12:00 am

Re: Transparent Chart

Post by Bill » Tue Feb 04, 2014 2:06 pm

Hi,

I've searched the posts and have not found an example that shows me how to make the Chart transparent.

Thaks

Bill

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

Re: Transparent Chart

Post by Narcís » Tue Feb 04, 2014 2:16 pm

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

Bill
Newbie
Newbie
Posts: 17
Joined: Fri Dec 27, 2013 12:00 am

Re: Transparent Chart

Post by Bill » Tue Feb 04, 2014 3:35 pm

Thanks for the post. The example worked with the TMapSeries. However, if I change to a TFastLineSeries, and try to zoom or panning, as you can imagine, the result is not desirable. IS there a way to pass the background Canvas and draw on that? Can that be a solution?

Thanks.

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

Re: Transparent Chart

Post by Narcís » Fri Feb 07, 2014 11:33 am

Hi Bill,

I made an example with a FastLine series, find it attached. I removed the chart, added a new one, assigned the OnBeforeDrawChart event and hide the back wall. Does this work as you expect?
Attachments
TranspChart.zip
(1.75 MiB) Downloaded 474 times
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