example/public/ueditor/third-party/highcharts/highcharts.src.js
function () {
		var series = this,
			graphPath = [],
			segmentPath,
			singlePoints = []; // used in drawTracker

		// Divide into segments and build graph and area paths
		each(series.segments, function (segment) {
			
			segmentPath = series.getSegmentPath(segment);
			
			// add the segment to the graph, or a single point for tracking
			if (segment.length > 1) {
				graphPath = graphPath.concat(segmentPath);
			} else {
				singlePoints.push(segment[0]);
			}
		});

		// Record it for use in drawGraph and drawTracker, and return graphPath
		series.singlePoints = singlePoints;
		series.graphPath = graphPath;
		
		return graphPath;
		
	}
function () {
		var series = this,
			graphPath = [],
			segmentPath,
			singlePoints = []; // used in drawTracker

		// Divide into segments and build graph and area paths
		each(series.segments, function (segment) {
			
			segmentPath = series.getSegmentPath(segment);
			
			// add the segment to the graph, or a single point for tracking
			if (segment.length > 1) {
				graphPath = graphPath.concat(segmentPath);
			} else {
				singlePoints.push(segment[0]);
			}
		});

		// Record it for use in drawGraph and drawTracker, and return graphPath
		series.singlePoints = singlePoints;
		series.graphPath = graphPath;
		
		return graphPath;
		
	}
function ( ) { var series = this , graphPath = [ ] , segmentPath , singlePoints = [ ] ; // used in drawTracker // Divide into segments and build graph and area paths each ( series . segments , function ( segment ) { segmentPath = series . getSegmentPath ( segment ) ; // add the segment to the graph, or a single point for tracking if ( segment . length > 1 ) { graphPath = graphPath . concat ( segmentPath ) ; } else { singlePoints . push ( segment [ 0 ] ) ; } } ) ; // Record it for use in drawGraph and drawTracker, and return graphPath series . singlePoints = singlePoints ; series . graphPath = graphPath ; return graphPath ; }
Get the graph path
Get the graph path