Number of horizontal grid lines

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 Mike McPherson on 16th December 2013
the graphs seem to all have 5 horizontal lines (apart from the zero line
can I change this number, please?
Posted by RGraph support on 17th December 2013
Hi there,

Yes withe the option:

obj.Set('background.grid.autofit.numhlines', 10));





Richard, RGraph Support
www.rgraph.net
Please link to the RGraph website. Thanks!
Posted by Mike McPherson on 17th December 2013
excellent - works a treat
Posted by Alex on 12th April 2016
I have the same Problem and tried this approach, but it doesnt seem to work for me. Any suggestions?
Posted by Richard on 12th April 2016
Hi,

Alex, try turning off the backgroundGridAutofitAlign property:

www.rgraph.net/fiddle/view.html/an-hbar




Richard
Posted by Alex on 12th April 2016
That did the trick! Thank you for the quick reply.

Add a reply




« Back to message list