code: function destroyItem(item) {
  			var checkbox = item.checkbox;
  
  			// pull out from the array
  			//erase(allItems, item);
  
  			// destroy SVG elements
  			each(['legendItem', 'legendLine', 'legendSymbol'], function (key) {
  				if (item[key]) {
  					item[key].destroy();
  				}
  			});
  
  			if (checkbox) {
  				discardElement(item.checkbox);
  			}
  
  
  		}
docs: Destroy a single legend item
  @param {Object} item The series or point