code: function (data, redraw) {
  		Series.prototype.setData.call(this, data, false);
  		this.processData();
  		this.generatePoints();
  		if (pick(redraw, true)) {
  			this.chart.redraw();
  		} 
  	}
docs: Extend the basic setData method by running processData and generatePoints immediately,
  in order to access the points from the legend.