projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf0e5ca
)
fix bug
author
Dan Vanderkam
<danvdk@gmail.com>
Wed, 23 Dec 2009 22:55:27 +0000
(17:55 -0500)
committer
Dan Vanderkam
<danvdk@gmail.com>
Wed, 23 Dec 2009 22:55:27 +0000
(17:55 -0500)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
ff70bcb
..
aa02516
100644
(file)
--- 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.attr
s
_["visibility"] = [];
}
while (this.attr_("visibility").length < this.rawData_[0].length - 1) {
- this.attr_("visibility").push(
fals
e);
+ this.attr_("visibility").push(
tru
e);
}
return this.attr_("visibility");
};