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

Update canvasWidth value #47

Open
baudouinpaul opened this issue Jul 23, 2020 · 1 comment
Open

Update canvasWidth value #47

baudouinpaul opened this issue Jul 23, 2020 · 1 comment

Comments

@baudouinpaul
Copy link

When trying to update chart width depending on window's width, the chart did'nt update as I would expect. The complete chart initialisation has to be called in order to update canvasWidth.
As exemple, it is possible to do this work with centralLabel. I would like to do the same with canvasWidth.

@CascadiaIO
Copy link

I came across this same issue. I can see that the value for canvasWidth variable changes on the page, but it doesn't update the chart.

NeedleValue/centralLabel/etc all work great, though.

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

2 participants