title: Highchart - Redraw Chart after Window is resized
body: <p>on my webpage is a chart drawn with Highchart. 
  Now, if i resize my whole window i want this chart to adjusts its size (especially the width). The Code looks similar to this:</p>
  
  <pre><code>window.onresize=function(){resized();}
  
  function resized()
  {
     $("#container").highcharts().redraw();
  }
  </code></pre>
  
  <p>If I overwrite the redraw event (with something like "alert("resized");") I will get a result so the method should be called - but the chart doesn't changes its size.
  I also tried to set the charts size manually with</p>
  
  <pre><code>$("#container").highcharts().setSize(width, height, false);
  </code></pre>
  
  <p>But both ways didn't work. Is there any other solution?</p>