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

Fix delta calculation at direction change #494

Merged
merged 1 commit into from
May 5, 2021

Conversation

kurkle
Copy link
Member

@kurkle kurkle commented May 5, 2021

Fix #493

Delta is cumulated in the same direction only.

While creating tests, I noticed I could not get category scale to step only one tick. This was due to the usage of Math.ceil, that made the stepSize to be 2 at minimum. Changing it to Math.round affected the updated fixture.

@kurkle kurkle added the bug label May 5, 2021
@kurkle kurkle added this to the 1.0.0 milestone May 5, 2021
@kurkle kurkle requested a review from etimberg May 5, 2021 17:53
@kurkle kurkle merged commit 253d01a into chartjs:master May 5, 2021
@kurkle kurkle deleted the delta-credit branch July 1, 2021 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panDelta[] stores movement beyond range
2 participants