example/public/ueditor/third-party/highcharts/highcharts.src.js
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;
	}
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;
	}
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 ; }
Compute auto alignment for the axis label based on which side the axis is on
and the given rotation for the label
Compute auto alignment for the axis label based on which side the axis is on and the given rotation for the label