-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Stepsize not working when min is specified #5644
Comments
@kashwath the issue is that the range (40-5=35) is not divisible by 8. When this happens, there needs to be 1 uneven step to draw. I don't think we make any guarantees as to which edge the uneven step is on. @simonbrunel @benmccann thoughts? |
I was going to make the autoskipper try to utilize round numbers, which I think would get the effect that's being looked for here. See #4612 for details However, before working on the autoskipper I wanted to fix the timezone issues so that I can ensure it works for the time chart as well. I'm hoping to get a review on #5522 so that I can continue the work down that path. @simonbrunel I'd appreciate it if you can give that PR a look when you have some time available. Thanks! |
@etimberg @benmccann https://jsfiddle.net/4p93aew7/37/ ( working - v2.5.0) |
Expected Behavior
Stepsize should be considered from the min value.
Steps to Reproduce (for bugs)
This is my fiddle - https://jsfiddle.net/4p93aew7/10/
Context
I have a scenario where I have min, max and stepsize of each chart
Environment
The text was updated successfully, but these errors were encountered: