Commit | Line | Data |
---|---|---|
54425b14 | 1 | <!DOCTYPE html> |
8b91c51f DV |
2 | <html> |
3 | <head> | |
10494b48 | 4 | <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9"> |
8b91c51f DV |
5 | <title>zero series</title> |
6 | <!--[if IE]> | |
a2b2c3a1 | 7 | <script type="text/javascript" src="../excanvas.js"></script> |
8b91c51f | 8 | <![endif]--> |
7e5ddc94 DV |
9 | <!-- |
10 | For production (minified) code, use: | |
11 | <script type="text/javascript" src="dygraph-combined.js"></script> | |
12 | --> | |
13 | <script type="text/javascript" src="../dygraph-dev.js"></script> | |
14 | ||
8b91c51f DV |
15 | </head> |
16 | <body> | |
17 | <p>Custom bars with a completely zero series. Both Y1 and Y2 should show.</p> | |
18 | ||
19 | <div id="data" style="display:none">X,Y1,Y2 | |
20 | 1,1;2;3,0;0;0 | |
21 | 2,2;3;4,0;0;0 | |
22 | 3,1;3;5,0;0;0 | |
23 | </div> | |
24 | ||
25 | <div id="graphdiv" style="width:600px; height:300px;"></div> | |
26 | <script type="text/javascript"> | |
f6fbf9e0 | 27 | var g = new Dygraph(document.getElementById("graphdiv"), |
8b91c51f DV |
28 | document.getElementById("data").innerHTML, |
29 | { | |
30 | customBars: true | |
31 | }); | |
32 | </script> | |
33 | </body> | |
34 | </html> |