I’m looking at one of the samples: http://www.chartjs.org/samples/latest/charts/area/line-datasets.html
It works and resizes perfectly. But I cannot seem to replicate this behavior in my own chart.
I see that inside the
.wrapper element a
.chartjs-size-monitor was somehow created alongside the canvas element. I don’t see anything in the sample source code that is responsible for adding this element.
Can you please help me and explain what I need to do to make chart resize with the parent element? I followed this guide but my chart still doesn’t resize properly.