Skip to content

Conversation

@nagix
Copy link
Contributor

@nagix nagix commented May 13, 2021

This PR fixes reset animations in vertical line and bubble charts by calling getBasePixel for the value axis, not the x axis.

Version 3.2.1: https://jsfiddle.net/nagix/r80e6pn7/
Screen Shot 2021-05-13 at 11 10 40 PM

This PR: https://jsfiddle.net/nagix/nfokh29m/
Screen Shot 2021-05-13 at 11 10 40 PM 2

Fixes #9087.

@etimberg etimberg added this to the Version 3.3 milestone May 13, 2021
@etimberg etimberg merged commit 953b23b into chartjs:master May 13, 2021
@nagix nagix deleted the issue-9088 branch May 13, 2021 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Element animations in a vertical chart don't use the base pixel of the value scale

3 participants