Sign in to follow this  
tonyyeb

Rotate labels

Recommended Posts

Hi all

Is there a way to rotate the labels of the data on a column graph? The names are quite long and it would be great to rotate them so they would at least fit.

Many thanks

Chris

Share this post


Link to post
Share on other sites

Should labelDisplay='ROTATE' work in the free version. In the documentation that comes with FusionCharts Free it says that it should work?

FusionCharts Free vs. FusionCharts v3 - Feature Comparison Matrix

Feature FusionCharts v3 FusionCharts Free  

Display Modes for x-axis labels   Rotate, stagger, slant, wrap etc. Just rotate option

My Code (ASP):

strXML = strXML & "<graph caption='Monthly Unit Sales' xAxisName='Maint' labelDisplay='ROTATE' yAxisName='Errors' decimalPrecision='0' formatNumberScale='0' >"

WHILE NOT rsChart.EOF

strXML = strXML & "<set name='" & rsChart("Name") & "' value='" & rsChart("Errors") & "' />"

 

rsChart.MoveNext

WEND

strXML = strXML & "</graph>"

rsChart.close

objConn.Close

SET rsChart=nothing

SET objConn=nothing

'--------------------

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