chartjs-ror icon indicating copy to clipboard operation
chartjs-ror copied to clipboard

#41: Add container element to fix behaviour in responsive mode

Open ZeiP opened this issue 6 years ago • 0 comments

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.

ZeiP avatar May 19 '19 21:05 ZeiP