Accepted answer

The chart prevents the container from shrinking. The pure CSS workaround is to set position:absolute and width: 100% on the container, then it won't affect the layout of the table cell

Just change this in your div:

<div id="container" style="min-width: 400px; width:100%; height: 400px; margin: 0 auto; position: absolute;">

and add this in your td:

 <td style="vertical-align: top;" >

Here's the jsFiddle:

You can see here for more information:

Related Query

More Query from same tag