Sign in to follow this  
joejoe

How Do I Make Wrap Text On Radar Chart In Powercharts

Recommended Posts

Hi,

 

Please note that the Radar chart has no native attribute to wrap the labels. You can explicitly break the long labels into multiple lines using {br} in between the labels.

Ex:

<set label='My label{br}is very long'  value='10' />

 

Alternatively, you can explicitly specify the "radarRadius" that would never allow shrinking of the chart and display the long labels truncated with ellipses. In this case, also set the attribute "showTooltipforWrappedLabels" to '1' in the <chart> element.

When the labels of the chart are too lengthy, the chart truncates them and displays a part of the label. In this situation, the above attribute shows a tooltip displaying the complete label when the mouse is hovered on the shortened labels.

 

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