example/public/ueditor/third-party/highcharts/modules/canvas-tools.src.js
function () {
			var renderer = this;

			// Remove the canvas
			discardElement(renderer.canvas);

			// Kill the timer
			if (renderer.ttTimer !== UNDEFINED) {
				clearTimeout(renderer.ttTimer);
			}

			// Remove the divs for tooltip and line
			discardElement(renderer.ttLine);
			discardElement(renderer.ttDiv);
			discardElement(renderer.hiddenSvg);

			// Continue with base class
			return SVGRenderer.prototype.destroy.apply(renderer);
		}
function () {
			var renderer = this;

			// Remove the canvas
			discardElement(renderer.canvas);

			// Kill the timer
			if (renderer.ttTimer !== UNDEFINED) {
				clearTimeout(renderer.ttTimer);
			}

			// Remove the divs for tooltip and line
			discardElement(renderer.ttLine);
			discardElement(renderer.ttDiv);
			discardElement(renderer.hiddenSvg);

			// Continue with base class
			return SVGRenderer.prototype.destroy.apply(renderer);
		}
function ( ) { var renderer = this ; // Remove the canvas discardElement ( renderer . canvas ) ; // Kill the timer if ( renderer . ttTimer !== UNDEFINED ) { clearTimeout ( renderer . ttTimer ) ; } // Remove the divs for tooltip and line discardElement ( renderer . ttLine ) ; discardElement ( renderer . ttDiv ) ; discardElement ( renderer . hiddenSvg ) ; // Continue with base class return SVGRenderer . prototype . destroy . apply ( renderer ) ; }
Extend SVGRenderer.destroy to also destroy the elements added by CanVGRenderer.
Extend SVGRenderer . destroy to also destroy the elements added by CanVGRenderer .