example/public/ueditor/third-party/highcharts/highcharts.src.js
function (redraw) {
		var chart = this.chart,
			key = this.xOrY + 'Axis'; // xAxis or yAxis

		// Remove associated series
		each(this.series, function (series) {
			series.remove(false);
		});

		// Remove the axis
		erase(chart.axes, this);
		erase(chart[key], this);
		chart.options[key].splice(this.options.index, 1);
		each(chart[key], function (axis, i) { // Re-index, #1706
			axis.options.index = i;
		});
		this.destroy();
		chart.isDirtyBox = true;

		if (pick(redraw, true)) {
			chart.redraw();
		}
	}
function (redraw) {
		var chart = this.chart,
			key = this.xOrY + 'Axis'; // xAxis or yAxis

		// Remove associated series
		each(this.series, function (series) {
			series.remove(false);
		});

		// Remove the axis
		erase(chart.axes, this);
		erase(chart[key], this);
		chart.options[key].splice(this.options.index, 1);
		each(chart[key], function (axis, i) { // Re-index, #1706
			axis.options.index = i;
		});
		this.destroy();
		chart.isDirtyBox = true;

		if (pick(redraw, true)) {
			chart.redraw();
		}
	}
function ( redraw ) { var chart = this . chart , key = this . xOrY + 'Axis' ; // xAxis or yAxis // Remove associated series each ( this . series , function ( series ) { series . remove ( false ) ; } ) ; // Remove the axis erase ( chart . axes , this ) ; erase ( chart [ key ] , this ) ; chart . options [ key ] . splice ( this . options . index , 1 ) ; each ( chart [ key ] , function ( axis , i ) { // Re-index, #1706 axis . options . index = i ; } ) ; this . destroy ( ) ; chart . isDirtyBox = true ; if ( pick ( redraw , true ) ) { chart . redraw ( ) ; } }
Remove the axis from the chart
Remove the axis from the chart