html/scripts/highchart/highcharts-more.src.js
function (force) {
		var series = this,
			options = series.options,
			yData = series.yData,
			points = series.options.data, // #3710 Update point does not propagate to sum
			point,
			dataLength = yData.length,
			threshold = options.threshold || 0,
			subSum,
			sum,
			dataMin,
			dataMax,
			y,
			i;

		sum = subSum = dataMin = dataMax = threshold;

		for (i = 0; i < dataLength; i++) {
			y = yData[i];
			point = points && points[i] ? points[i] : {};

			if (y === "sum" || point.isSum) {
				yData[i] = sum;
			} else if (y === "intermediateSum" || point.isIntermediateSum) {
				yData[i] = subSum;
			} else {
				sum += y;
				subSum += y;
			}
			dataMin = Math.min(sum, dataMin);
			dataMax = Math.max(sum, dataMax);
		}

		Series.prototype.processData.call(this, force);

		// Record extremes
		series.dataMin = dataMin;
		series.dataMax = dataMax;
	}
function (force) {
		var series = this,
			options = series.options,
			yData = series.yData,
			points = series.options.data, // #3710 Update point does not propagate to sum
			point,
			dataLength = yData.length,
			threshold = options.threshold || 0,
			subSum,
			sum,
			dataMin,
			dataMax,
			y,
			i;

		sum = subSum = dataMin = dataMax = threshold;

		for (i = 0; i < dataLength; i++) {
			y = yData[i];
			point = points && points[i] ? points[i] : {};

			if (y === "sum" || point.isSum) {
				yData[i] = sum;
			} else if (y === "intermediateSum" || point.isIntermediateSum) {
				yData[i] = subSum;
			} else {
				sum += y;
				subSum += y;
			}
			dataMin = Math.min(sum, dataMin);
			dataMax = Math.max(sum, dataMax);
		}

		Series.prototype.processData.call(this, force);

		// Record extremes
		series.dataMin = dataMin;
		series.dataMax = dataMax;
	}
function ( force ) { var series = this , options = series . options , yData = series . yData , points = series . options . data , // #3710 Update point does not propagate to sum point , dataLength = yData . length , threshold = options . threshold || 0 , subSum , sum , dataMin , dataMax , y , i ; sum = subSum = dataMin = dataMax = threshold ; for ( i = 0 ; i < dataLength ; i ++ ) { y = yData [ i ] ; point = points && points [ i ] ? points [ i ] : { } ; if ( y === "sum" || point . isSum ) { yData [ i ] = sum ; } else if ( y === "intermediateSum" || point . isIntermediateSum ) { yData [ i ] = subSum ; } else { sum += y ; subSum += y ; } dataMin = Math . min ( sum , dataMin ) ; dataMax = Math . max ( sum , dataMax ) ; } Series . prototype . processData . call ( this , force ) ; // Record extremes series . dataMin = dataMin ; series . dataMax = dataMax ; }
Call default processData then override yData to reflect waterfall's extremes on yAxis
Call default processData then override yData to reflect waterfall s extremes on yAxis