projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
g -> g2
[dygraphs.git]
/
tests
/
no-visibility.html
diff --git
a/tests/no-visibility.html
b/tests/no-visibility.html
index
6127fd4
..
ef3de31
100644
(file)
--- a/
tests/no-visibility.html
+++ b/
tests/no-visibility.html
@@
-17,6
+17,8
@@
<p>This test verifies that a chart will still draw without any JS errors
when no series are visible.</p>
<div id="div_g" style="width:400px; height:200px;"></div>
<p>This test verifies that a chart will still draw without any JS errors
when no series are visible.</p>
<div id="div_g" style="width:400px; height:200px;"></div>
+ <p>This graph's specified value range should be respected.</p>
+ <div id="div_g2" style="width:400px; height:200px;"></div>
<script type="text/javascript">
g = new Dygraph(
<script type="text/javascript">
g = new Dygraph(
@@
-27,6
+29,15
@@
visibility: [false, false]
}
);
visibility: [false, false]
}
);
+ g2 = new Dygraph(
+ document.getElementById("div_g2"),
+ NoisyData, {
+ rollPeriod: 7,
+ errorBars: true,
+ visibility: [false, false],
+ valueRange: [100, 200]
+ }
+ );
</script>
</body>
</script>
</body>