From b16e636940e6566cc8176c7eb4ed90fba7d118c9 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 14 Dec 2009 01:00:39 -0800 Subject: [PATCH] update status div --- dygraph.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dygraph.js b/dygraph.js index 8c3bc59..74b76e4 100644 --- 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"; -- 2.7.4