Highcharts on Modal Element being Clipped
===

We have a Java servlet that generates a report. Now we included an option to generate a highcharts diagram, containing N highcharts graphs. The diagram should open on a modal element (lightbox, iframe, it doesn't matter). I used fancybox and displayed the diagram loading in a iframe, but the height and width are all messed up.

It seems that the browser/fancybox is/are calculating the size of the elements of diagram before highcharts renders, and displays the iframe with a small size.

I am not bound to using iframe, though the diagram is called from a servlet URL and it is impossible to know its size beforehand.

I can use another jquery library if that's the case.

