-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Description
Expected behavior
Chart should not resize unnecessarily
Current behavior
Chart keeps on shrinking if Zoom levels are changed or re-rendered. I am using primeng, so I thought this might be a bug with their component. But I was able to replicate it on chartjs official web page. Attached a video for the same.
Reproducible sample
https://www.chartjs.org/docs/latest/samples/bar/border-radius.html
Optional extra steps/info to reproduce
Screen.Recording.2025-05-20.184923.mp4
Possible solution
No response
Context
No response
chart.js version
4.4.9
Browser name and version
Chrome Version Version 136.0.7103.114 (Official Build) (64-bit) / Microsoft Edge Version 136.0.3240.76 (Official build) (64-bit)
Link to your project
No response