Attempt to create a working bower package
[dygraphs.git] / tests / no-visibility.html
CommitLineData
54425b14 1<!DOCTYPE html>
1eb2feb3
DV
2<html>
3 <head>
10494b48 4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
1eb2feb3
DV
5 <title>no-visibility</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
7e5ddc94
DV
9 <!--
10 For production (minified) code, use:
11 <script type="text/javascript" src="dygraph-combined.js"></script>
12 -->
13 <script type="text/javascript" src="../dygraph-dev.js"></script>
14
1eb2feb3
DV
15 <script type="text/javascript" src="data.js"></script>
16 </head>
17 <body>
18 <h3>No visible series</h3>
19 <p>This test verifies that a chart will still draw without any JS errors
20 when no series are visible.</p>
21 <div id="div_g" style="width:400px; height:200px;"></div>
2cf4e667
AV
22 <p>This graph's specified value range should be respected.</p>
23 <div id="div_g2" style="width:400px; height:200px;"></div>
1eb2feb3
DV
24
25 <script type="text/javascript">
26 g = new Dygraph(
27 document.getElementById("div_g"),
28 NoisyData, {
29 rollPeriod: 7,
30 errorBars: true,
31 visibility: [false, false]
32 }
33 );
bc7f1c97 34 g2 = new Dygraph(
2cf4e667
AV
35 document.getElementById("div_g2"),
36 NoisyData, {
37 rollPeriod: 7,
38 errorBars: true,
39 visibility: [false, false],
40 valueRange: [100, 200]
41 }
42 );
1eb2feb3
DV
43 </script>
44
45 </body>
46</html>