Multiple Y-Axis drawing, ypos at gutter.bottom rather than 0

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 Stu Andrews on 25th November 2015
Hi Richard,

Have got multiple graphs working with multiple y-axis objects. Very cool!

I must be missing a setting though, because the ypos of the y-axis(es) are being set to the gutter.bottom value, rather than 0.

IE The "0" is way below the x-axis + labels.

Any ideas what I can do to remedy this?
Posted by Richard on 25th November 2015
Hi,

Not sure I understand correctly - but you may just need to match the gutter settings up:

yaxis.set({
     gutterBottom: bar.get('gutterBottom')
});




Richard

Add a reply




« Back to message list