Hello!
I'm having a problem with legend text wrapping, as in
the attached PNG image. As you can see my label axis
text is quite long.
Now I've tried increasing the proportion of horizontal
space allocated to the legend with setLayoutRatios, but
it doesn't seem to do very much. I gather from the
documentation that it is up to me to make sure that the
sum of the graph and legend width components adds to
far enough less than 1 to allow space for the legend,
but even within that constraint, no matter what I do
it's still quite keen to wrap the legend.
I'm not calling setSize on the chart, so it could just
make the chart large enough to accomodate the legend,
surely?
Ideally I'd like my legend labels to word-wrap since
they are long and the legend to not not wrap individual
characters since there's no need and it's ugly, and
also to avoid any wrapping of the numbers axis labels
(which sometimes happens too) :-)
Any suggestions?
Thanks,
ABS
Logged In: YES
user_id=179964
you forgot to attach the png?
Wrapping text
Logged In: YES
user_id=603877
Hmmm. I thought I had. I'll try again! Sorry!
Logged In: YES
user_id=179964
sorry for the delay.
i made a small demo that looked like your chart and got the
same behavior. i don't know why. it looks like a bug, i
think it might have worked fine with an earlier sdk. also
it might be a bug fix that i didn't feed into the LLChart2D,
because it looks fine in LBChart2D.
--jason