BUGFIX: Added "this." to the boundryIds_ calls
authorDavid Eberlein <david.eberlein@ch.sauter-bc.com>
Wed, 12 Jun 2013 16:16:25 +0000 (18:16 +0200)
committerDavid Eberlein <david.eberlein@ch.sauter-bc.com>
Wed, 12 Jun 2013 16:16:25 +0000 (18:16 +0200)
dygraph.js

index d771e18..8764430 100644 (file)
@@ -1862,8 +1862,8 @@ Dygraph.prototype.mouseMove_ = function(event) {
  * @private
  */
 Dygraph.prototype.getLeftBoundary_ = function(setIdx) {
-  if(!isNaN(setIdx) && setIdx < boundaryIds_.length){
-    return boundaryIds_[setIdx][0];
+  if(!isNaN(setIdx) && setIdx < this.boundaryIds_.length){
+    return this.boundaryIds_[setIdx][0];
   } else {
     for (var i = 0; i < this.boundaryIds_.length; i++) {
       if (this.boundaryIds_[i] !== undefined) {