Bump version to 2.0.1
[dygraphs.git] / tests / no-range.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="../dist/dygraph.css">
5 <title>no range</title>
6 <script type="text/javascript" src="../dist/dygraph.js"></script>
7
8 </head>
9 <body>
10 <p>Line should be visible in the middle of the chart:</p>
11 <div id="blah"></div>
12
13 <p>Line should be visible ~90% up the chart:</p>
14 <div id="blah2"></div>
15
16 <script type="text/javascript">
17 var g1 = new Dygraph(document.getElementById("blah"),
18 "X,Y\n10,12345\n11,12345\n",
19 { width: 640, height: 480 });
20
21 var g2 = new Dygraph(document.getElementById("blah2"),
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 });
32 </script>
33 </body>
34 </html>