html/scripts/highchart/highcharts-more.src.js
function (options, chart, firstAxis) {
		var pane = this,
			backgroundOption,
			defaultOptions = pane.defaultOptions;
		
		pane.chart = chart;
		
		// Set options
		if (chart.angular) { // gauges
			defaultOptions.background = {}; // gets extended by this.defaultBackgroundOptions
		}
		pane.options = options = merge(defaultOptions, options);
		
		backgroundOption = options.background;
		
		// To avoid having weighty logic to place, update and remove the backgrounds,
		// push them to the first axis' plot bands and borrow the existing logic there.
		if (backgroundOption) {
			each([].concat(splat(backgroundOption)).reverse(), function (config) {
				var backgroundColor = config.backgroundColor,  // if defined, replace the old one (specific for gradients)
					axisUserOptions = firstAxis.userOptions;
				config = merge(pane.defaultBackgroundOptions, config);
				if (backgroundColor) {
					config.backgroundColor = backgroundColor;
				}
				config.color = config.backgroundColor; // due to naming in plotBands
				firstAxis.options.plotBands.unshift(config);
				axisUserOptions.plotBands = axisUserOptions.plotBands || []; // #3176
				axisUserOptions.plotBands.unshift(config);
			});
		}
	}
function (options, chart, firstAxis) {
		var pane = this,
			backgroundOption,
			defaultOptions = pane.defaultOptions;
		
		pane.chart = chart;
		
		// Set options
		if (chart.angular) { // gauges
			defaultOptions.background = {}; // gets extended by this.defaultBackgroundOptions
		}
		pane.options = options = merge(defaultOptions, options);
		
		backgroundOption = options.background;
		
		// To avoid having weighty logic to place, update and remove the backgrounds,
		// push them to the first axis' plot bands and borrow the existing logic there.
		if (backgroundOption) {
			each([].concat(splat(backgroundOption)).reverse(), function (config) {
				var backgroundColor = config.backgroundColor,  // if defined, replace the old one (specific for gradients)
					axisUserOptions = firstAxis.userOptions;
				config = merge(pane.defaultBackgroundOptions, config);
				if (backgroundColor) {
					config.backgroundColor = backgroundColor;
				}
				config.color = config.backgroundColor; // due to naming in plotBands
				firstAxis.options.plotBands.unshift(config);
				axisUserOptions.plotBands = axisUserOptions.plotBands || []; // #3176
				axisUserOptions.plotBands.unshift(config);
			});
		}
	}
function ( options , chart , firstAxis ) { var pane = this , backgroundOption , defaultOptions = pane . defaultOptions ; pane . chart = chart ; // Set options if ( chart . angular ) { // gauges defaultOptions . background = { } ; // gets extended by this.defaultBackgroundOptions } pane . options = options = merge ( defaultOptions , options ) ; backgroundOption = options . background ; // To avoid having weighty logic to place, update and remove the backgrounds, // push them to the first axis' plot bands and borrow the existing logic there. if ( backgroundOption ) { each ( [ ] . concat ( splat ( backgroundOption ) ) . reverse ( ) , function ( config ) { var backgroundColor = config . backgroundColor , // if defined, replace the old one (specific for gradients) axisUserOptions = firstAxis . userOptions ; config = merge ( pane . defaultBackgroundOptions , config ) ; if ( backgroundColor ) { config . backgroundColor = backgroundColor ; } config . color = config . backgroundColor ; // due to naming in plotBands firstAxis . options . plotBands . unshift ( config ) ; axisUserOptions . plotBands = axisUserOptions . plotBands || [ ] ; // #3176 axisUserOptions . plotBands . unshift ( config ) ; } ) ; } }
Initiate the Pane object
Initiate the Pane object