The example below shows a chart rendered in jQuery dialog. Resize the container of the chart to resize the chart automatically using jQuery