fix some bugs that were breaking IE
[dygraphs.git] / tests / no-range.html
1 <html>
2 <head>
3 <title>no range</title>
4 <!--[if IE]>
5 <script type="text/javascript" src="excanvas.js"></script>
6 <![endif]-->
7 <script type="text/javascript" src="../dygraph-combined.js"></script>
8 <script type="text/javascript" src="../dygraph-canvas.js"></script>
9 <script type="text/javascript" src="../dygraph.js"></script>
10 </head>
11 <body>
12 <p>Line should be visible in the middle of the chart:</p>
13 <div id="blah"></div>
14
15 <p>Line should be visible ~90% up the chart:</p>
16 <div id="blah2"></div>
17
18 <script type="text/javascript">
19 new Dygraph(document.getElementById("blah"),
20 "X,Y\n10,12345\n11,12345\n",
21 { width: 640, height: 480 });
22
23 new Dygraph(document.getElementById("blah2"),
24 "date,10M\n" +
25 "20021229,10000000.000000\n" +
26 "20030105,10000000.000000\n" +
27 "20030112,10000000.000000\n" +
28 "20030119,10000000.000000\n" +
29 "20030126,10000000.000000\n" +
30 "20030202,10000000.000000\n" +
31 "20030209,10000000.000000\n" +
32 "20030216,10000000.000000\n",
33 { width: 640, height: 480, includeZero: true, labelsKMB: true });
34 </script>
35 </body>
36 </html>