X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-combined.js;h=fbc7c1d727875a10d95968998745edef07115c7a;hb=1bce597191839ef2e56ecba0bf7be1e60209a5c6;hp=8b1628e5e19e6fcf0638efebb35d670b4a8894fe;hpb=49a7d0d5779af666148294ffb62a65fa390ea212;p=dygraphs.git diff --git a/dygraph-combined.js b/dygraph-combined.js index 8b1628e..fbc7c1d 100644 --- a/dygraph-combined.js +++ b/dygraph-combined.js @@ -19,6 +19,9 @@ this._evaluateLineTicks(); DygraphLayout.prototype._evaluateLimits=function(){ this.minxval=this.maxxval=null; for(var _6 in this.datasets){ +if(!this.datasets.hasOwnProperty(_6)){ +continue; +} var _7=this.datasets[_6]; var x1=_7[0][0]; if(!this.minxval||x1=0){ var prev=_235[i-_236]; -if(prev[1][1]&&!isNaN(prev[1][1])){ +if(prev[1][1]!=null&&!isNaN(prev[1][1])){ low-=prev[1][0]; mid-=prev[1][1]; high-=prev[1][2]; @@ -1326,7 +1343,7 @@ var sum=0; var _250=0; for(var j=Math.max(0,i-_236+1);j