X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-combined.js;h=15d2e5ec3ce655511c4af671b76d69cd10802b2e;hb=b16e636940e6566cc8176c7eb4ed90fba7d118c9;hp=455d75eaa85e09d61a6b6d2ed10a0bddc8b81986;hpb=aa8aa4e8944939950616ffe37cffc22589044e34;p=dygraphs.git diff --git a/dygraph-combined.js b/dygraph-combined.js index 455d75e..15d2e5e 100644 --- a/dygraph-combined.js +++ b/dygraph-combined.js @@ -234,7 +234,7 @@ _40.save(); _40.strokeStyle=this.options.axisLineColor; _40.lineWidth=this.options.axisLineWidth; if(this.options.drawYAxis){ -if(this.layout.yticks){ +if(this.layout.yticks&&this.layout.yticks.length>0){ for(var i=0;i