-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Integer Y-labels #221
Comments
👍 |
2 similar comments
👍 |
👍 |
Hello @oesmith, any update on this one? Regards |
I would like this too! Any update? |
Guys, be sure to see #340. There might be no updates if you don't contribute back. 😿 |
Hello @sudodoki, I will take a shot at implementing this then and see how it goes... I will take a look at it tomorrow and ask people to test it. |
Please have a look at PR #341... Will appreciate people willing to test the PR and send feedback. |
👍 |
👍 for this. I hope this will fix soon :) |
👍 This would be great too! It's useful for things like counts of users/people etc. that should be integers. |
I've found that this workaround works for me for the time being. Passing into the constructor:
This will null out any column values which would be decimal, so for e.g. a range of 0 - 30, with a default numSteps of 5, it would render like this. Although, it seems now like there's a PR to implement it which works: #344 |
Any updates on this? |
Hey @rgravina, thanks for your workaround. It looks great in my app. Here's the actual code I used:
|
Any update on this? Or is there a new version already created? please link me. Thank you. |
I am interested in this as well. Any updates? |
👍 |
Inspired from morrisjs#344 morrisjs#221
Continued from #162.
Sometimes it doesn't make much sense to display decimal labels when the data types are all integers. There should be a way to force Y-axis labels to be all integers.
The text was updated successfully, but these errors were encountered: