5628 if (data[i][0] != null && data[i][1] != null) {
5629 if (this.step && i>0) {
5630 gd.push([xp.call(this._xaxis, data[i][0]), yp.call(this._yaxis, data[i-1][1])]);
5631 }
5632 gd.push([xp.call(this._xaxis, data[i][0]), yp.call(this._yaxis, data[i][1])]);
5633 }
It works by just adding the previous yaxis value to the current xaxis location, resulting in two yaxis values for that location. The result is shown in the blue "average" series line below: