Warning throwing error because of bad method name when setting customBars.
authorRobert Konigsberg <konigsberg@google.com>
Thu, 29 Dec 2011 19:03:21 +0000 (14:03 -0500)
committerRobert Konigsberg <konigsberg@google.com>
Thu, 29 Dec 2011 19:03:21 +0000 (14:03 -0500)
dygraph.js

index ff9fbfa..79bc7ca 100644 (file)
@@ -2654,9 +2654,9 @@ Dygraph.prototype.parseCSV_ = function(data) {
                           this.parseFloat_(vals[1], i, line),
                           this.parseFloat_(vals[2], i, line) ];
           } else {
-            this.warning('When using customBars, values must be either blank ' +
-                         'or "low;center;high" tuples (got "' + val +
-                         '" on line ' + (1+i));
+            this.warn('When using customBars, values must be either blank ' +
+                      'or "low;center;high" tuples (got "' + val +
+                      '" on line ' + (1+i));
           }
         }
       }