Sign in to follow this  
Guest Basundhara Ghosal

Comparing labelDisplay=rotate and rotateLabel=1

Recommended Posts

I have been trying hard to understand the purpose(s) served by labelDisplay=rotate and rotateLabel=1.

 

Are these two dependent on each other or are they two different properties altogether

 

If yes, then how?

 

If no, then what is the difference between these two options.

 

 

 

Thanks, in advance, for your reply

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Ashim,

Welcome to FusionCharts forum. :)

In case you need to rotate the x-axis labels, you need to set labelDisplay='Rotate'.

In case you need to slant the labels at 45 degree, please try using labelDisplay='Rotate' slantLabels='1' for the same.

For further details please refer to the link below:-

Ref.- http://www.fusioncharts.com/docs?/AttDesc/DataLabels.html

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hi Basundhara,

 

 

 

Thanks for the reply.

 

However here is my doubt.

 

 

 

Does it mean rotateLabel is not a relevant option?

 

 

 

I need to create a UI for taking in fusion chart configuration properties and need to know if I need to provide user the ability to change rotateLabel.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Ashim,

You are welcome. :)

In case you use  labelDisplay='Rotate', it will rotate the datalabels at 90 degree.

To rotate your data labels at an angle of 45 degree, you need to set labelDisplay='Rotate' slantLabels='1'.

Please note that, to activate the attribute slantLabels you need to set the value of the labelDisplay to 'Rotate' .

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