Home forums Report Bugs Chart not responsive when hidden Reply To: Chart not responsive when hidden

#7090

Anjali
Participant

Hi,

What is happening here is that, when the container is hidden, it’s height and width will be 0 and hence chart takes default width and height of 500 x 400. So You just need to call chart.render() after making the container visible so that chart updates its width and height. We have demonstrated the same in the previous example.


Anjali