|
|
|
@ -102,7 +102,7 @@ function (_, Interval) { |
|
|
|
|
} else if(this.opts.fill_style === 'null') { |
|
|
|
|
strategy = this._getNullFlotPairs; |
|
|
|
|
} else if(this.opts.fill_style === 'no') { |
|
|
|
|
strategy = this._getiNoZeroFlotPairs; |
|
|
|
|
strategy = this._getNoZeroFlotPairs; |
|
|
|
|
} else { |
|
|
|
|
strategy = this._getMinFlotPairs; |
|
|
|
|
} |
|
|
|
@ -218,7 +218,7 @@ function (_, Interval) { |
|
|
|
|
* Not fill zero's on either side of the current time, only the current time |
|
|
|
|
* @return {array} An array of points to plot with flot |
|
|
|
|
*/ |
|
|
|
|
ts.ZeroFilled.prototype._getiNoZeroFlotPairs = function (result, time, i, times) { |
|
|
|
|
ts.ZeroFilled.prototype._getNoZeroFlotPairs = function (result, time, i, times) { |
|
|
|
|
var next, expected_next, prev, expected_prev; |
|
|
|
|
|
|
|
|
|
// add the current time
|
|
|
|
|