Commit | Line | Data |
---|---|---|
54425b14 | 1 | <!DOCTYPE html> |
8b91c51f DV |
2 | <html> |
3 | <head> | |
4 | <title>zero series</title> | |
7e5ddc94 DV |
5 | <!-- |
6 | For production (minified) code, use: | |
7 | <script type="text/javascript" src="dygraph-combined.js"></script> | |
8 | --> | |
9 | <script type="text/javascript" src="../dygraph-dev.js"></script> | |
10 | ||
8b91c51f DV |
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"> | |
f6fbf9e0 | 23 | var g = new Dygraph(document.getElementById("graphdiv"), |
8b91c51f DV |
24 | document.getElementById("data").innerHTML, |
25 | { | |
26 | customBars: true | |
27 | }); | |
28 | </script> | |
29 | </body> | |
30 | </html> |