PDA

View Full Version : How to have multi line text in sencha EXT chart series name (with center alignment)



achieverprince
18 Sep 2013, 3:28 AM
45871

i achieved two name of a column chart by adding "\n" in JSON data.
how can i center align both words?

Gary Schlosberg
2 Oct 2013, 8:16 PM
It looks like the axis labels are centered to the tick marks based on the largest of the two strings. I don't think anything in the framework will fix that. I was hoping that spaces could coax the shorter string to the right a bit, but I couldn't get any combination of characters to do that.