Skip to content
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

Chart size not set right after changing orientation in mobile view #12024

Open
Schneemann2 opened this issue Feb 7, 2025 · 0 comments
Open

Comments

@Schneemann2
Copy link

Expected behavior

The size and aspect ratio of a chart should stay the same after changing and rechanging the orientation on a mobile device

Current behavior

the size and aspect ratio of the chart changes

Reproducible sample

https://www.chartjs.org/docs/latest/samples/line/line.html

Optional extra steps/info to reproduce

Open this in Chrome Dev Tools in mobile View or on a real IPad
https://www.chartjs.org/docs/latest/samples/line/line.html
and change orientation and change it back

Possible solution

No response

Context

No response

chart.js version

v4.4.7

Browser name and version

Chrome 133.0.6943.54, current Safari on IPadOS 17.7.2

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