code: function () {
  		// compute anchor points for each of the title align options
  		var horiz = this.horiz,
  			axisLeft = this.left,
  			axisTop = this.top,
  			axisLength = this.len,
  			axisTitleOptions = this.options.title,			
  			margin = horiz ? axisLeft : axisTop,
  			opposite = this.opposite,
  			offset = this.offset,
  			fontSize = pInt(axisTitleOptions.style.fontSize || 12),
  			
  			// the position in the length direction of the axis
  			alongAxis = {
  				low: margin + (horiz ? 0 : axisLength),
  				middle: margin + axisLength / 2,
  				high: margin + (horiz ? axisLength : 0)
  			}[axisTitleOptions.align],
  	
  			// the position in the perpendicular direction of the axis
  			offAxis = (horiz ? axisTop + this.height : axisLeft) +
  				(horiz ? 1 : -1) * // horizontal axis reverses the margin
  				(opposite ? -1 : 1) * // so does opposite axes
  				this.axisTitleMargin +
  				(this.side === 2 ? fontSize : 0);
  
  		return {
  			x: horiz ?
  				alongAxis :
  				offAxis + (opposite ? this.width : 0) + offset +
  					(axisTitleOptions.x || 0), // x
  			y: horiz ?
  				offAxis - (opposite ? this.height : 0) + offset :
  				alongAxis + (axisTitleOptions.y || 0) // y
  		};
  	}
docs: Position the title