code: function colorizeItem(item, visible) {
  			var legendItem = item.legendItem,
  				legendLine = item.legendLine,
  				legendSymbol = item.legendSymbol,
  				hiddenColor = itemHiddenStyle.color,
  				textColor = visible ? options.itemStyle.color : hiddenColor,
  				lineColor = visible ? item.color : hiddenColor,
  				symbolAttr = visible ? item.pointAttr[NORMAL_STATE] : {
  					stroke: hiddenColor,
  					fill: hiddenColor
  				};
  
  			if (legendItem) {
  				legendItem.css({ fill: textColor });
  			}
  			if (legendLine) {
  				legendLine.attr({ stroke: lineColor });
  			}
  			if (legendSymbol) {
  				legendSymbol.attr(symbolAttr);
  			}
  
  		}
docs: Set the colors for the legend item
  @param {Object} item A Series or Point instance
  @param {Object} visible Dimmed or colored