Rono

Unwanted word wrapping in Caption

Recommended Posts

In a bar 2D chart, I found that the caption wraps to a second line when the bar labels are long.  Check out this jsFiddle to reproduce the problem:

 

http://jsfiddle.net/eZjjT/163/

 

How do I prevent it from doing that so that the caption appears on one line?

 

Share this post


Link to post
Share on other sites

Hi Rono,
 
To prevent the caption from being  wrapped in horizontal bar charts, we can specify the maximum percentage of available width for data labels with the “maxLabelWidthPercent” attribute. The attribute  value can be set for a value between 5 and 80.  
 
You can refer to the link below for more label details.
http://docs.fusioncharts.com/tutorial-configuring-your-chart-data-labels.html
 
Your updated fiddle link is : http://jsfiddle.net/eZjjT/168/

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