code: function () {
  		var chart = this,
  			optionsChart = chart.options.chart,
  			renderTo = chart.renderTo,
  			reflowTimeout;
  			
  		function reflow(e) {
  			var width = optionsChart.width || adapterRun(renderTo, 'width'),
  				height = optionsChart.height || adapterRun(renderTo, 'height'),
  				target = e ? e.target : win; // #805 - MooTools doesn't supply e
  				
  			// Width and height checks for display:none. Target is doc in IE8 and Opera,
  			// win in Firefox, Chrome and IE9.
  			if (!chart.hasUserSize && width && height && (target === win || target === doc)) {
  				
  				if (width !== chart.containerWidth || height !== chart.containerHeight) {
  					clearTimeout(reflowTimeout);
  					chart.reflowTimeout = reflowTimeout = setTimeout(function () {
  						if (chart.container) { // It may have been destroyed in the meantime (#1257)
  							chart.setSize(width, height, false);
  							chart.hasUserSize = null;
  						}
  					}, 100);
  				}
  				chart.containerWidth = width;
  				chart.containerHeight = height;
  			}
  		}
  		chart.reflow = reflow;
  		addEvent(win, 'resize', reflow);
  		addEvent(chart, 'destroy', function () {
  			removeEvent(win, 'resize', reflow);
  		});
  	}
docs: Add the event handlers necessary for auto resizing