-
Problem Whit Legend in Chart
Problem Whit Legend in Chart
Hello,
I Have this graphic:

and I need put one lengend per line, how I can do this?
I put this:
extraStyle: {
legend:
{
display: 'bottom',
padding: 10,
width:100,
spacing: 5,
font:
{
family: 'Arial',
size: 9
}
}
},
Thanks,
-
Sencha - Community Support Team
The legends would be displayed below each other if you used display:'left' or 'right'.
If you want to keep using 'bottom' then you could try inserting <br /> tags in the legend texts (don't know if that works...).
-
I have problem whit the width in my box, because of this i need the legend in botton, i can't put '</br>' in the text, i don't set this in legend.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us