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

[Bug]: When on the phone screen, there are two large spaces on both sides of the chart #1103

Open
1 task
heydayle opened this issue Aug 14, 2024 · 0 comments
Open
1 task

Comments

@heydayle
Copy link

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

Expected behavior:
Hidden large space on both sides of the chart!
image

Current behavior:
I have a problem when using 2 types of Line and Bar on the same chart and that problem occurs when responsive to the phone screen.
When on the phone screen, there are two large spaces on both sides of the chart, but on the desktop there are not.
image

I tried to make it as similar as possible to the sandbox but couldn't run the demo.
Demo
Can someone explain and give me a solution?

Reproduction

https://stackblitz.com/edit/github-gk93gf?file=src%2FchartConfig.ts

chart.js version

4.2.1

vue-chartjs version

5.2.0

Possible solution

No response

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

No branches or pull requests

1 participant