PDA

View Full Version : Pie Chart Legend Max Width



ssamuel68
12 Mar 2012, 12:19 PM
Hi, I have pie chart inside a panel and im having problems centering the chart into the panel, also i want to know if its possible to set a max width to the legend so it grows verticaly when it reaches the end of the panel

32655

Thx

mitchellsimoens
12 Mar 2012, 2:46 PM
The legend doesn't have any logic to figure best way to render or on multiple lines and such.

mediari
21 May 2012, 7:02 PM
Is there any solution to this, or a way to force the legend to display as 'vertical'? There is a property legend.isVertical, but this cannot be set - it is simply true for left, right, and float positioned legends and false for top and bottom.

I also tried floating the legend (which made it vertically formatted) and moving it to the bottom of the containing div, but then couldn't move the chart itself to the top (it centers vertically). Anyone know the way to solve that? It seems far too simple an issue to not have a fix for.