Legend behaviour

TeeChart for ActiveX, COM and ASP
Post Reply
JKO
Newbie
Newbie
Posts: 16
Joined: Mon Mar 26, 2012 12:00 am

Legend behaviour

Post by JKO » Tue Mar 27, 2012 5:14 pm

Hi,

Normally I'm using the legend in it's default behaviour. In this case the chart is narrowed to accomodate the legend position. Recently I changed this behaviour to legend.resizechart=false.
By doing this the legend is drawn in the area of the charts (which is what i wanted) but also behind the components of the chart, like the grid, the series, axis etc.. Why is this? This isn't logical.
To bring the legend to the front i've got to set the position to custom and set its position.

Why is the z-order of the legend different when setting the position to custom?

Greetings,

Jack

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

Re: Legend behaviour

Post by Yeray » Wed Mar 28, 2012 2:01 pm

Hi Jack,

Right, I also think resizechart=false should draw the legend above the chart. I've added it to the wish list to be investigated for future releases (TV52016112).
In the meanwhile you could use CustomPosition=true instead.
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

Post Reply