html/scripts/highchart/highcharts-more.src.js
function () {
		
		// Call uber method		
		axisProto.setAxisTranslation.call(this);
			
		// Set transA and minPixelPadding
		if (this.center) { // it's not defined the first time
			if (this.isCircular) {
				
				this.transA = (this.endAngleRad - this.startAngleRad) / 
					((this.max - this.min) || 1);
					
				
			} else { 
				this.transA = (this.center[2] / 2) / ((this.max - this.min) || 1);
			}
			
			if (this.isXAxis) {
				this.minPixelPadding = this.transA * this.minPointOffset;
			} else {
				// This is a workaround for regression #2593, but categories still don't position correctly.
				// TODO: Implement true handling of Y axis categories on gauges.
				this.minPixelPadding = 0; 
			}
		}
	}
function () {
		
		// Call uber method		
		axisProto.setAxisTranslation.call(this);
			
		// Set transA and minPixelPadding
		if (this.center) { // it's not defined the first time
			if (this.isCircular) {
				
				this.transA = (this.endAngleRad - this.startAngleRad) / 
					((this.max - this.min) || 1);
					
				
			} else { 
				this.transA = (this.center[2] / 2) / ((this.max - this.min) || 1);
			}
			
			if (this.isXAxis) {
				this.minPixelPadding = this.transA * this.minPointOffset;
			} else {
				// This is a workaround for regression #2593, but categories still don't position correctly.
				// TODO: Implement true handling of Y axis categories on gauges.
				this.minPixelPadding = 0; 
			}
		}
	}
function ( ) { // Call uber method		 axisProto . setAxisTranslation . call ( this ) ; // Set transA and minPixelPadding if ( this . center ) { // it's not defined the first time if ( this . isCircular ) { this . transA = ( this . endAngleRad - this . startAngleRad ) / ( ( this . max - this . min ) || 1 ) ; } else { this . transA = ( this . center [ 2 ] / 2 ) / ( ( this . max - this . min ) || 1 ) ; } if ( this . isXAxis ) { this . minPixelPadding = this . transA * this . minPointOffset ; } else { // This is a workaround for regression #2593, but categories still don't position correctly. // TODO: Implement true handling of Y axis categories on gauges. this . minPixelPadding = 0 ; } } }
Override setAxisTranslation by setting the translation to the difference
in rotation. This allows the translate method to return angle for
any given value.
Override setAxisTranslation by setting the translation to the difference in rotation . This allows the translate method to return angle for any given value .