Expected behavior
Chart should be resized when window size changes. (now it resizes only when scaling to smaller resolution)
Current behavior
I am using "responsive" option to resize chart based on it's parent container size.
Everything works while scaling window size down, but when it comes to changing window resolution to larger one that doesn't work.
Reproducible sample
https://codepen.io/ouqu5/pen/ZEjEPqm
Optional extra steps/info to reproduce
- Resize window to mobile/tablet (chart resizes properly)
- Resize it back to full screen (chart is not resized)
Possible solution
No response
Context
No response
chart.js version
4.1.1
Browser name and version
No response
Link to your project
No response
Expected behavior
Chart should be resized when window size changes. (now it resizes only when scaling to smaller resolution)
Current behavior
I am using "responsive" option to resize chart based on it's parent container size.
Everything works while scaling window size down, but when it comes to changing window resolution to larger one that doesn't work.
Reproducible sample
https://codepen.io/ouqu5/pen/ZEjEPqm
Optional extra steps/info to reproduce
Possible solution
No response
Context
No response
chart.js version
4.1.1
Browser name and version
No response
Link to your project
No response