update combined
authorDan Vanderkam <danvdk@gmail.com>
Sun, 13 Dec 2009 23:01:10 +0000 (15:01 -0800)
committerDan Vanderkam <danvdk@gmail.com>
Sun, 13 Dec 2009 23:01:10 +0000 (15:01 -0800)
dygraph-combined.js

index 455d75e..15d2e5e 100644 (file)
@@ -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<this.layout.yticks.length;i++){
 var _46=this.layout.yticks[i];
 if(typeof (_46)=="function"){