Resize the container of the chart to resize the chart automatically using jQuery
The above sample showcases listening to events using jQuery. Click here to know more on how the code of this example works.