Can I change the number of horizontal grid lines?

« 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));

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

Alex, try turning off the backgroundGridAutofitAlign property:

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

Add a reply

« Back to message list