Commit | Line | Data |
---|---|---|
1eb2feb3 DV |
1 | <html> |
2 | <head> | |
3 | <title>no-visibility</title> | |
4 | <!--[if IE]> | |
5 | <script type="text/javascript" src="../excanvas.js"></script> | |
6 | <![endif]--> | |
7 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> | |
8 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> | |
9 | <script type="text/javascript" src="../dygraph-canvas.js"></script> | |
10 | <script type="text/javascript" src="../dygraph.js"></script> | |
11 | <script type="text/javascript" src="data.js"></script> | |
12 | </head> | |
13 | <body> | |
14 | <h3>No visible series</h3> | |
15 | <p>This test verifies that a chart will still draw without any JS errors | |
16 | when no series are visible.</p> | |
17 | <div id="div_g" style="width:400px; height:200px;"></div> | |
18 | ||
19 | <script type="text/javascript"> | |
20 | g = new Dygraph( | |
21 | document.getElementById("div_g"), | |
22 | NoisyData, { | |
23 | rollPeriod: 7, | |
24 | errorBars: true, | |
25 | visibility: [false, false] | |
26 | } | |
27 | ); | |
28 | </script> | |
29 | ||
30 | </body> | |
31 | </html> |