Skip to content

Chart keeps on shrinking uncontrollably #12076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mani-96 opened this issue May 20, 2025 · 0 comments
Open

Chart keeps on shrinking uncontrollably #12076

mani-96 opened this issue May 20, 2025 · 0 comments

Comments

@mani-96
Copy link

mani-96 commented May 20, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant