code: function (rotation) {
  		var ret, 
  			angle = (pick(rotation, 0) - (this.side * 90) + 720) % 360;
  
  		if (angle > 15 && angle < 165) {
  			ret = 'right';
  		} else if (angle > 195 && angle < 345) {
  			ret = 'left';
  		} else {
  			ret = 'center';
  		}
  		return ret;
  	}
docs: Compute auto alignment for the axis label based on which side the axis is on
  and the given rotation for the label