I am trying to use Charts.js to make the default line plot that they show in their example dynamically and put it in a div that I pop up on a user click. My code is like th
In my case the canvas needed to be wrapped inside an element with the CSS display: block;
display: block;