projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6401bf
)
make zoom out work again
author
Dan Vanderkam
<danvdk@gmail.com>
Mon, 14 Dec 2009 13:36:45 +0000
(
05:36
-0800)
committer
Dan Vanderkam
<danvdk@gmail.com>
Mon, 14 Dec 2009 13:36:45 +0000
(
05:36
-0800)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
386781d
..
016f106
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-1248,9
+1248,7
@@
Dygraph.prototype.drawGraph_ = function(data) {
this.addXTicks_();
// Tell PlotKit to use this new data and render itself
- if (this.dateWindow_) {
- this.layout_.updateOptions({dateWindow: this.dateWindow_});
- }
+ this.layout_.updateOptions({dateWindow: this.dateWindow_});
this.layout_.evaluateWithError();
this.plotter_.clear();
this.plotter_.render();