greetclock / angular-gauge-chart

Angular Gauge Chart
https://recogizer.github.io/gauge-chart/examples/samples/
MIT License
61 stars 41 forks source link

Update canvasWidth value #47

Open baudouinpaul opened 4 years ago

baudouinpaul commented 4 years ago

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 commented 2 years ago

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.