example/public/ueditor/third-party/highcharts/highcharts.src.js
function () {
		var chart = this,
			chartSeries = chart.series;

		// Reset links
		each(chartSeries, function (series) {
			series.linkedSeries.length = 0;
		});

		// Apply new links
		each(chartSeries, function (series) {
			var linkedTo = series.options.linkedTo;
			if (isString(linkedTo)) {
				if (linkedTo === ':previous') {
					linkedTo = chart.series[series.index - 1];
				} else {
					linkedTo = chart.get(linkedTo);
				}
				if (linkedTo) {
					linkedTo.linkedSeries.push(series);
					series.linkedParent = linkedTo;
				}
			}
		});
	}
function () {
		var chart = this,
			chartSeries = chart.series;

		// Reset links
		each(chartSeries, function (series) {
			series.linkedSeries.length = 0;
		});

		// Apply new links
		each(chartSeries, function (series) {
			var linkedTo = series.options.linkedTo;
			if (isString(linkedTo)) {
				if (linkedTo === ':previous') {
					linkedTo = chart.series[series.index - 1];
				} else {
					linkedTo = chart.get(linkedTo);
				}
				if (linkedTo) {
					linkedTo.linkedSeries.push(series);
					series.linkedParent = linkedTo;
				}
			}
		});
	}
function ( ) { var chart = this , chartSeries = chart . series ; // Reset links each ( chartSeries , function ( series ) { series . linkedSeries . length = 0 ; } ) ; // Apply new links each ( chartSeries , function ( series ) { var linkedTo = series . options . linkedTo ; if ( isString ( linkedTo ) ) { if ( linkedTo === ':previous' ) { linkedTo = chart . series [ series . index - 1 ] ; } else { linkedTo = chart . get ( linkedTo ) ; } if ( linkedTo ) { linkedTo . linkedSeries . push ( series ) ; series . linkedParent = linkedTo ; } } } ) ; }
Link two or more series together. This is done initially from Chart.render,
and after Chart.addSeries and Series.remove.
Link two or more series together . This is done initially from Chart . render and after Chart . addSeries and Series . remove .