projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support boolean array in setVisibility
[dygraphs.git]
/
auto_tests
/
tests
/
visibility.js
diff --git
a/auto_tests/tests/visibility.js
b/auto_tests/tests/visibility.js
index
dad65dc
..
5f54639
100644
(file)
--- a/
auto_tests/tests/visibility.js
+++ b/
auto_tests/tests/visibility.js
@@
-71,4
+71,8
@@
it('testObjectSeriesShowAndHide', function() {
assert.equal(' B D', getVisibleSeries(false, [{1:true, 2:false, 3:true}, null]));
});
+it('testBooleanArraySeriesShowAndHide', function() {
+ assert.equal(' B D', getVisibleSeries(false, [[false, true, false, true], null]));
+});
+
});