projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2e822
)
update status div
author
Dan Vanderkam
<danvdk@gmail.com>
Mon, 14 Dec 2009 09:00:39 +0000
(
01:00
-0800)
committer
Dan Vanderkam
<danvdk@gmail.com>
Mon, 14 Dec 2009 09:00:39 +0000
(
01:00
-0800)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
8c3bc59
..
74b76e4
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-1760,7
+1760,10
@@
Dygraph.prototype.resize = function(width, height) {
width = height = null;
}
+ // TODO(danvk): there should be a clear() method.
this.maindiv_.innerHTML = "";
+ this.attrs_.labelsDiv = null;
+
if (width) {
this.maindiv_.style.width = width + "px";
this.maindiv_.style.height = height + "px";