Page 1 of 1

Transparent Chart

Posted: Mon Feb 03, 2014 10:21 pm
by 16568187
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

Re: Transparent Chart

Posted: Tue Feb 04, 2014 8:16 am
by narcis
Hello Bill,

Yes, here you'll find an example on how to make a transparent chart.

Re: Transparent Chart

Posted: Tue Feb 04, 2014 2:06 pm
by 16568187
Hi,

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

Thaks

Bill

Re: Transparent Chart

Posted: Tue Feb 04, 2014 2:16 pm
by narcis

Re: Transparent Chart

Posted: Tue Feb 04, 2014 3:35 pm
by 16568187
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.

Re: Transparent Chart

Posted: Fri Feb 07, 2014 11:33 am
by narcis
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?