fix some bugs that were breaking IE
[dygraphs.git] / tests / zero-series.html
1 <html>
2 <head>
3 <title>zero series</title>
4 <!--[if IE]>
5 <script type="text/javascript" src="excanvas.js"></script>
6 <![endif]-->
7 <script type="text/javascript" src="../dygraph-combined.js"></script>
8 <script type="text/javascript" src="../dygraph-canvas.js"></script>
9 <script type="text/javascript" src="../dygraph.js"></script>
10 </head>
11 <body>
12 <p>Custom bars with a completely zero series. Both Y1 and Y2 should show.</p>
13
14 <div id="data" style="display:none">X,Y1,Y2
15 1,1;2;3,0;0;0
16 2,2;3;4,0;0;0
17 3,1;3;5,0;0;0
18 </div>
19
20 <div id="graphdiv" style="width:600px; height:300px;"></div>
21 <script type="text/javascript">
22 new Dygraph(document.getElementById("graphdiv"),
23 document.getElementById("data").innerHTML,
24 {
25 customBars: true
26 });
27 </script>
28 </body>
29 </html>