Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing gridline #116

Open
DeannaV opened this issue Jan 22, 2018 · 0 comments
Open

Missing gridline #116

DeannaV opened this issue Jan 22, 2018 · 0 comments

Comments

@DeannaV
Copy link

DeannaV commented Jan 22, 2018

When I set yDomainRange's maximum to 5996.099999 in the barchart, the gridline for 5000 disapeared. The issue resolved itself when I changed yDomainRange to 5996 or 5997, so I am guessing that the issue is caused by setting the yDomainRange to a non-integer. I was able to fix it by using Math.floor to correct the number. Although it seems like a strange number to set yDomainRange to, it can happen if you are calculating it based on the values in the barchart - I was using maximum value * 1.15 to leave a little space at the top of the chart. Just thought i'd share this, so even if you decide not to fix it the next person with this problem might be able to find my solution when searching through issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants