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