revert change to demo.html from 1.1.1
[dygraphs.git] / tests / zero-series.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="../dist/dygraph.css">
5 <title>zero series</title>
6 <script type="text/javascript" src="../dist/dygraph.js"></script>
7
8 </head>
9 <body>
10 <p>Custom bars with a completely zero series. Both Y1 and Y2 should show.</p>
11
12 <div id="data" style="display:none">X,Y1,Y2
13 1,1;2;3,0;0;0
14 2,2;3;4,0;0;0
15 3,1;3;5,0;0;0
16 </div>
17
18 <div id="graphdiv" style="width:600px; height:300px;"></div>
19 <script type="text/javascript">
20 var g = new Dygraph(document.getElementById("graphdiv"),
21 document.getElementById("data").innerHTML,
22 {
23 customBars: true
24 });
25 </script>
26 </body>
27 </html>