X axis print label from up to down

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Gaurav on 22nd October 2013
Hi,

Can you suggest a way how can I display X-Axis labels from up to downwards.

i.e.
I want to display "Unites States of America" as x-Axis label and I have set text inclination of 45.

If suppose x-Axis area is smaller, R-Graph is going to display "Unites States of America" from bottom to up so, user can only see "tes of America".


If would have attached image if its allowed with this posting.

Thanks
Gaurav





Posted by RGraph Support on 22nd October 2013
Hi there,

By the sounds of it I think that you're asking if you can reverse the labels on the X axis - you can do this by using the drawing API X axis object. This allows you to add and configure your own X axis.

This won't reverse the scale that's used though - for that you will need to subtract the value from the maximum. So if your scale goes from 0 up to 100 and your value is 75 then you will need to simply do (100 - 75) to get the value to use.





Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
    www.rgraph.net/license#single-site

Add a reply




« Back to message list