chartjs-ror
chartjs-ror copied to clipboard
#41: Add container element to fix behaviour in responsive mode
As mentioned in #41, the width and height attributes work poorly without a container element around the canvas, this is also mentioned in https://www.chartjs.org/docs/latest/general/responsive.html#important-note. This PR makes chartjs-ror create an container element for the canvas to fix this behaviour.