[Chartjs]-Chart.js: trouble with resizing on window resize

0👍

I never had resize problem with chart.js, and you don’t need to subscribe to the resize event because the resize is already handled by chart.js depending on the size of the canvas container. Do you have this issue when you browse working chart.js websites with this mac ?

from chartjs.org:

Chart.js will resize your chart if the browser changes size, along with providing the perfect scale granularity for that size

And btw please take a look at your console, $('##chart') is not a valid jQuery selector and should produce an error. I don’t know how the code you posted could work.

Leave a comment