Replies: 1 comment
-
The correct way to do this is to change the options rather than properties on the scale. See https://codepen.io/etimberg/pen/RwxqRXO?editors=1111 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Expected behavior
Line chart should reflect with updated min and max values on axis
Current behavior
Line Chart cannot update min and max manually through a button Click
Reproducible sample
https://codepen.io/Mark1902/pen/RwxqREv?editors=1111
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v3.7.1
Browser name and version
No response
Link to your project
No response
Beta Was this translation helpful? Give feedback.
All reactions