You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Take the bar chart official sandbox.
Resize window horizontally. Chart resizes to the smaller size without problem, but never resizes back when window becomes larger.
In my Svelte project, see the code below, I'm using tailwind:
Here is the link: https://www.chartjs.org/docs/latest/configuration/responsive.htmlOn Oct 3, 2024, at 20:13, DevilWarrior ***@***.***> wrote:
Please delete this request, found the answer deep inside documentation. Sorry.
Could you share where please? I'm having the same issue.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
Would you like to work on a fix?
Current and expected behavior
Take the bar chart official sandbox.
Resize window horizontally. Chart resizes to the smaller size without problem, but never resizes back when window becomes larger.
In my Svelte project, see the code below, I'm using tailwind:
On window resize - huge flickering, but chart remains small.
Registering on window resize event and changing canvas element width - has no effect.
Can't make the chart responsive
Reproduction
https://codesandbox.io/p/devbox/github/SauravKanchan/svelte-chartjs/tree/master/sandboxes/bar?file=%2Fcomponents%2FChart.svelte%3A17%2C13
chart.js version
4.4.3
svelte-chartjs version
3.1.5
Possible solution
No response
The text was updated successfully, but these errors were encountered: