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

		if (!series.isRemoving) {  /* prevent triggering native event in jQuery
				(calling the remove function from the remove event) */
			series.isRemoving = true;

			// fire the event with a default handler of removing the point
			fireEvent(series, 'remove', null, function () {


				// destroy elements
				series.destroy();


				// redraw
				chart.isDirtyLegend = chart.isDirtyBox = true;
				chart.linkSeries();
				
				if (redraw) {
					chart.redraw(animation);
				}
			});

		}
		series.isRemoving = false;
	}
function (redraw, animation) {
		var series = this,
			chart = series.chart;
		redraw = pick(redraw, true);

		if (!series.isRemoving) {  /* prevent triggering native event in jQuery
				(calling the remove function from the remove event) */
			series.isRemoving = true;

			// fire the event with a default handler of removing the point
			fireEvent(series, 'remove', null, function () {


				// destroy elements
				series.destroy();


				// redraw
				chart.isDirtyLegend = chart.isDirtyBox = true;
				chart.linkSeries();
				
				if (redraw) {
					chart.redraw(animation);
				}
			});

		}
		series.isRemoving = false;
	}
function ( redraw , animation ) { var series = this , chart = series . chart ; redraw = pick ( redraw , true ) ; if ( ! series . isRemoving ) { /* prevent triggering native event in jQuery
				(calling the remove function from the remove event) */ series . isRemoving = true ; // fire the event with a default handler of removing the point fireEvent ( series , 'remove' , null , function ( ) { // destroy elements series . destroy ( ) ; // redraw chart . isDirtyLegend = chart . isDirtyBox = true ; chart . linkSeries ( ) ; if ( redraw ) { chart . redraw ( animation ) ; } } ) ; } series . isRemoving = false ; }
Remove a series and optionally redraw the chart

@param {Boolean} redraw Whether to redraw the chart or wait for an explicit call
@param {Boolean|Object} animation Whether to apply animation, and optionally animation
configuration
Remove a series and optionally redraw the chart