Commit | Line | Data |
---|---|---|
54425b14 | 1 | <!DOCTYPE html> |
e9d78bac BW |
2 | <html> |
3 | <head> | |
4 | <title>CSV with numeric X series</title> | |
5 | <!--[if IE]> | |
6 | <script type="text/javascript" src="../excanvas.js"></script> | |
7 | <![endif]--> | |
8 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> | |
9 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> | |
10 | <script type="text/javascript" src="../dygraph-canvas.js"></script> | |
11 | <script type="text/javascript" src="../dygraph.js"></script> | |
12 | </head> | |
13 | <body> | |
14 | <p>CSV data with a numeric (non-date) X series.</p> | |
15 | <div id="graph"></div> | |
16 | <script type="text/javascript"> | |
17 | new Dygraph( | |
18 | document.getElementById("graph"), | |
19 | "X,Y\n" + | |
20 | "1,0\n" + | |
21 | "2,10\n" + | |
22 | "3,0\n" + | |
23 | "4,-10\n" + | |
24 | "5,0\n" | |
25 | ); | |
26 | </script> | |
27 | </body> | |
28 | </html> |