Fix errors/warnings in tests/*.html
[dygraphs.git] / tests / zero-series.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>zero series</title>
5 <!--
6 For production (minified) code, use:
7 <script type="text/javascript" src="dygraph-combined.js"></script>
8 -->
9 <script type="text/javascript" src="../dist/dygraph.js"></script>
10
11 </head>
12 <body>
13 <p>Custom bars with a completely zero series. Both Y1 and Y2 should show.</p>
14
15 <div id="data" style="display:none">X,Y1,Y2
16 1,1;2;3,0;0;0
17 2,2;3;4,0;0;0
18 3,1;3;5,0;0;0
19 </div>
20
21 <div id="graphdiv" style="width:600px; height:300px;"></div>
22 <script type="text/javascript">
23 var g = new Dygraph(document.getElementById("graphdiv"),
24 document.getElementById("data").innerHTML,
25 {
26 customBars: true
27 });
28 </script>
29 </body>
30 </html>