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
I'm trying to implement gauges in a responsive design that should support tablets/phones in landscape/portrait view.
However, when I change the orientation, the gauge appears pixelated due to using the previous canvas size. How can I force the gauge to redraw to the new canvas size?
I set the canvas height and width to "auto" and also called the render() function on resize, but it doesn't seem to do anything.
Thanks
The text was updated successfully, but these errors were encountered:
Any solution? I would be interested in a solution as well.
Due to a responsive design, I would like to change the size of the canvas & and looking for a "force update" solution (everything is redrawn).
I'm trying to implement gauges in a responsive design that should support tablets/phones in landscape/portrait view.
However, when I change the orientation, the gauge appears pixelated due to using the previous canvas size. How can I force the gauge to redraw to the new canvas size?
I set the canvas height and width to "auto" and also called the render() function on resize, but it doesn't seem to do anything.
Thanks
The text was updated successfully, but these errors were encountered: