code: function () {
  		var series = this,
  			chart = series.chart,
  			seriesClipRect = series.clipRect,
  			//chartSeries = series.chart.series,
  			issue134 = /\/5[0-9\.]+ (Safari|Mobile)\//.test(userAgent), // todo: update when Safari bug is fixed
  			destroy,
  			prop;
  
  		// add event hook
  		fireEvent(series, 'destroy');
  
  		// remove all events
  		removeEvent(series);
  
  		// remove legend items
  		if (series.legendItem) {
  			series.chart.legend.destroyItem(series);
  		}
  
  		// destroy all points with their elements
  		each(series.data, function (point) {
  			point.destroy();
  		});
  
  		// If this series clipRect is not the global one (which is removed on chart.destroy) we
  		// destroy it here.
  		if (seriesClipRect && seriesClipRect !== chart.clipRect) {
  			series.clipRect = seriesClipRect.destroy();
  		}
  
  		// destroy all SVGElements associated to the series
  		each(['area', 'graph', 'dataLabelsGroup', 'group', 'tracker'], function (prop) {
  			if (series[prop]) {
  
  				// issue 134 workaround
  				destroy = issue134 && prop === 'group' ?
  					'hide' :
  					'destroy';
  
  				series[prop][destroy]();
  			}
  		});
  
  		// remove from hoverSeries
  		if (chart.hoverSeries === series) {
  			chart.hoverSeries = null;
  		}
  		erase(chart.series, series);
  
  		// clear all members
  		for (prop in series) {
  			delete series[prop];
  		}
  	}
docs: Clear DOM objects and free up memory