Page 1 of 1

Bar with gradient legend

Posted: Wed May 29, 2013 11:45 am
by 16565391
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.

Re: Bar with gradient legend

Posted: Thu May 30, 2013 10:49 am
by yeray
Hi,

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

Code: Select all

Chart1.Legend.Symbol.Gradient.Visible:=true;

Re: Bar with gradient legend

Posted: Thu May 30, 2013 1:36 pm
by 16565391
Yes, when I turn symbols gradient visibility on, it fixes colors in legend