title: Highcharts reflow does not work on class selector
body: <p>Has anyone tried running the High charts reflow() function on a class selector instead of an id selector?</p>
  
  <p>See example where i have 2 charts with 1 button to toggle their containing div size.
  I have another 2 buttons, one to reflow the charts by id, and another the reflow the charts by class.</p>
  
  <p>Note the one using the class selector does not seem to reflow BOTH charts, and that it only reflows the first element using that class.</p>
  
  <p><a href="http://jsfiddle.net/deN74/1/" rel="nofollow">http://jsfiddle.net/deN74/1/</a></p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;script src="http://code.highcharts.com/highcharts.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.highcharts.com/modules/exporting.js"&gt;&lt;/script&gt;
  
  &lt;div style="width: 600px"&gt;
      &lt;div id="container1" class="needreflow" style="width: 400px; height: 300px; margin: 1em; border: 1px solid gray"&gt;&lt;/div&gt;
      &lt;div id="container2" class="needreflow" style="width: 400px; height: 300px; margin: 1em; border: 1px solid gray"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;button id="set-div-size" class="autocompare"&gt;Toggle container size&lt;/button&gt;
  &lt;button id="reflow-chart-byid" class="autocompare"&gt;Reflow charts by id selector&lt;/button&gt;
  &lt;button id="reflow-chart-byclass" class="autocompare"&gt;Reflow charts by class selector&lt;/button&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$(function () {
      $('#container1').highcharts({
          xAxis: {
              categories: ['Jan', 'Feb', 'Mar']
          },
  
          series: [{
              data: [29.9, 71.5, 106.4]
          }]
  
      });
      $('#container2').highcharts({
          xAxis: {
              categories: ['Jan', 'Feb', 'Mar']
          },
  
          series: [{
              data: [29.9, 71.5, 106.4]
          }]
  
      });
  
      var wide = false;
      $('#set-div-size').click(function () {
          $('#container1').width(wide ? 400 : 500);
          $('#container2').width(wide ? 400 : 500);
          wide = !wide;
      });
      $('#reflow-chart-byid').click(function () {
          $('#container1').highcharts().reflow();
          $('#container2').highcharts().reflow();
      });
          $('#reflow-chart-byclass').click(function () {
          $('.needreflow').highcharts().reflow();
      });
  });
  </code></pre>