Commit | Line | Data |
---|---|---|
8b91c51f DV |
1 | <html> |
2 | <head> | |
3 | <title>zero series</title> | |
4 | <!--[if IE]> | |
a2b2c3a1 | 5 | <script type="text/javascript" src="../excanvas.js"></script> |
8b91c51f | 6 | <![endif]--> |
d37dca40 DV |
7 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> |
8 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> | |
8b91c51f DV |
9 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
10 | <script type="text/javascript" src="../dygraph.js"></script> | |
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 | new Dygraph(document.getElementById("graphdiv"), | |
24 | document.getElementById("data").innerHTML, | |
25 | { | |
26 | customBars: true | |
27 | }); | |
28 | </script> | |
29 | </body> | |
30 | </html> |