Answer the question
In order to leave comments, you need to log in
How to update highchart chart size to container size?
The Highcharts chart is built before the container is built. And for this reason, it does not occupy the entire container. If you change the size of the window, then it immediately updates the dimensions to the correct ones. How to manually force Highcharts to update sizes? .redraw() doesn't help.
Answer the question
In order to leave comments, you need to log in
For example like this
_inlineTrend.setSize(bounds.width, bounds.height, false);
Bounds count from container size
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question