Bar with gradient legend

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
DCConcept
Newbie
Newbie
Posts: 6
Joined: Tue Mar 12, 2013 12:00 am

Bar with gradient legend

Post by DCConcept » Wed May 29, 2013 11:45 am

Hi,

I have a problem with symbol colors in legend while using bar series with gradient. Symbol colors in legend does not match to there values color in chart, but they all have some cyan color.

You can reproduce the problem in TeeChartOffice (I have tried TeeChart 2012 and 2013)example application. When app starts, you can see bar chart with legend. Legend has correct colors and everything looks fine. But after chart is repainted (for example by window resize), symbols in legend change their color to cyan. Take a look at following picture:

Image

Our company has bought teechart with source code (currently using TeeChart 2013), so I would be grateful even for some piece of code which corrects this behavior.

Any ideas?

Thanks for help.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Bar with gradient legend

Post by Yeray » Thu May 30, 2013 10:49 am

Hi,

If you activate the Legend Symbol Gradient it works fine, isn't it?

Code: Select all

Chart1.Legend.Symbol.Gradient.Visible:=true;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

DCConcept
Newbie
Newbie
Posts: 6
Joined: Tue Mar 12, 2013 12:00 am

Re: Bar with gradient legend

Post by DCConcept » Thu May 30, 2013 1:36 pm

Yes, when I turn symbols gradient visibility on, it fixes colors in legend

Post Reply