`autosize: true` resizes a chart according to the parent container's width and height. However, if the parent container's size is determined by css' `max-height`, the chart is too tall and overflows. Example https://codepen.io/antoinerg/pen/BOZWxx/