Commit | Line | Data |
---|---|---|
54425b14 | 1 | <!DOCTYPE html> |
93dfacfd DV |
2 | <html> |
3 | <head> | |
fd6b8dad | 4 | <link rel="stylesheet" href="../dist/dygraph.css"> |
93dfacfd | 5 | <title>no range</title> |
fbd6834a | 6 | <script type="text/javascript" src="../dist/dygraph.js"></script> |
7e5ddc94 | 7 | |
93dfacfd DV |
8 | </head> |
9 | <body> | |
5c2dbd10 | 10 | <p>Line should be visible in the middle of the chart:</p> |
93dfacfd | 11 | <div id="blah"></div> |
5c2dbd10 DV |
12 | |
13 | <p>Line should be visible ~90% up the chart:</p> | |
14 | <div id="blah2"></div> | |
15 | ||
93dfacfd | 16 | <script type="text/javascript"> |
f6fbf9e0 | 17 | var g1 = new Dygraph(document.getElementById("blah"), |
93dfacfd DV |
18 | "X,Y\n10,12345\n11,12345\n", |
19 | { width: 640, height: 480 }); | |
5c2dbd10 | 20 | |
f6fbf9e0 | 21 | var g2 = new Dygraph(document.getElementById("blah2"), |
5c2dbd10 DV |
22 | "date,10M\n" + |
23 | "20021229,10000000.000000\n" + | |
24 | "20030105,10000000.000000\n" + | |
25 | "20030112,10000000.000000\n" + | |
26 | "20030119,10000000.000000\n" + | |
27 | "20030126,10000000.000000\n" + | |
28 | "20030202,10000000.000000\n" + | |
29 | "20030209,10000000.000000\n" + | |
30 | "20030216,10000000.000000\n", | |
31 | { width: 640, height: 480, includeZero: true, labelsKMB: true }); | |
93dfacfd DV |
32 | </script> |
33 | </body> | |
34 | </html> |