Changing the text orientation of X axis labels on my Bar chart

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Eldho on 24th March 2014
I want to Draw a simple Horizonatal Barchart with Many values accros X axis
As the Labels are lengthy , they are not visible ( Overlaping)
Wishes to display labels it on Vertical and if possiblewrapping text to two lines

Eldo Paulose
Posted by Richard on 24th March 2014
Hi there,

The documentation for the HBar is here:

And examples of the HBar are here:

If you need labels across multiple lines you can use carriage returns:

obj.Set('labels', ['First line\r\nSecond line']);

Like this:


Add a reply

« Back to message list