code: function () {
  		var options = this.options,
  			padding = this.padding,
  			titleOptions = options.title,
  			titleHeight = 0,
  			bBox;
  		
  		if (titleOptions.text) {
  			if (!this.title) {
  				this.title = this.chart.renderer.label(titleOptions.text, padding - 3, padding - 4, null, null, null, null, null, 'legend-title')
  					.attr({ zIndex: 1 })
  					.css(titleOptions.style)
  					.add(this.group);
  			}
  			bBox = this.title.getBBox();
  			titleHeight = bBox.height;
  			this.offsetWidth = bBox.width; // #1717
  			this.contentGroup.attr({ translateY: titleHeight });
  		}
  		this.titleHeight = titleHeight;
  	}
docs: Render the legend title on top of the legend