Sign in to follow this  
openmet

Labels in MS Bar 2D charts do not wrap

Recommended Posts

Hi;

 

I'have a multiseries  bar 2D chart, with 'maxLabelWidthPercent' set to 50. As the chart is multiseries, there is space for the labels to wrap and Split in two text lines, however this does not happen.

 

In the second ítem of the attached file, you'll see what I mean.

 

Please, could you help me understand what is going on, and what can be done to have the whole label displayed in multuiple text lines?

 

Thanks for your support,

 

      Jordi

 

 

post-65038-0-43458800-1431439591_thumb.gif

Share this post


Link to post
Share on other sites

Hi Jordi,

 

You can make use of {br} tag in between the labels to break it into separate lines. We do not yet support any attribute to break labels into separate lines as by default they tend to appear as ellipses when the label names are too long. On mouse hover the the full label name is displayed.

 

Ref. fiddle: http://jsfiddle.net/moonmi/6a9hf7q2/

 

Hope this helps.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this