-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Description
Expected Behavior
I want mirror the y-axis. My solution is to grab min and max with the ticks callback of the left y-axis and write it to the config of the right y-axis. Ths works fine with 2.9.4, but with 3.0.0-beta.10 both axis are not always syncron.
Current Behavior
It seems that min and max are not properly taken into account in the auto-fit behaviour.
Possible Solution
Steps to Reproduce
Take the examples, play with bottom Randomize Data and compare both y-axis.
https://codepen.io/pen/YzpNryM with version 2.9.4 always syncron
https://codepen.io/pen/gOLgGrO with version 3.0.0-beta.10 not always syncron
Context
Environment
- Chart.js version: 3.0.0-beta.10
- Browser name and version: Edge-dev 90.0.789.1, Firefox 85.0.2
- Link to your project: