projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handling zoom handle left position as a floating-point number for better accuracy...
[dygraphs.git]
/
dygraph.js
diff --git
a/dygraph.js
b/dygraph.js
index
092f511
..
f0ced90
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-485,6
+485,8
@@
Dygraph.prototype.__init__ = function(div, file, attrs) {
}
}
}
}
+ this.createDragInterface_();
+
this.start_();
};
this.start_();
};
@@
-963,8
+965,6
@@
Dygraph.prototype.createInterface_ = function() {
};
this.addEvent(this.mouseEventElement_, 'mouseout', this.mouseOutHandler);
};
this.addEvent(this.mouseEventElement_, 'mouseout', this.mouseOutHandler);
- this.createDragInterface_();
-
this.resizeHandler = function(e) {
dygraph.resize();
};
this.resizeHandler = function(e) {
dygraph.resize();
};
@@
-3395,6
+3395,7
@@
Dygraph.prototype.resize = function(width, height) {
// createInterface_ reset the layout, so we need to do this.
this.layout_.setAnnotations(this.annotations_);
}
// createInterface_ reset the layout, so we need to do this.
this.layout_.setAnnotations(this.annotations_);
}
+ this.createDragInterface_();
this.predraw_();
}
this.predraw_();
}