When adding a drawing API Y axis to my chart it's starting at the bottom of the canvas

« 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

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

     gutterBottom: bar.get('gutterBottom')


Add a reply

« Back to message list