From f38dec019bc857047ba221046063a1c9b3c7b502 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Wed, 23 Dec 2009 17:55:27 -0500 Subject: [PATCH] fix bug --- dygraph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dygraph.js b/dygraph.js index ff70bcb..aa02516 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1884,10 +1884,10 @@ Dygraph.prototype.visibility = function() { // Do lazy-initialization, so that this happens after we know the number of // data series. if (!this.attr_("visibility")) { - this.attr_["visibility"] = []; + this.attrs_["visibility"] = []; } while (this.attr_("visibility").length < this.rawData_[0].length - 1) { - this.attr_("visibility").push(false); + this.attr_("visibility").push(true); } return this.attr_("visibility"); }; -- 2.7.4