Initial check-in
[dygraphs.git] / plotkit_v091 / tests / axis.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4 <title>PlotKit: Axis Test</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <link href="/css/page.css" media="screen" rel="Stylesheet"
7 type="text/css" />
8 <link href="tests.css" media="screen" rel="Stylesheet" type="text/css" />
9 <script src="/js/mochi/MochiKit.js" type="text/javascript"></script>
10 <script src="/js/plotkit-svn/excanvas.js" type="text/javascript"></script>
11 <script src="/js/plotkit-svn/PlotKit_Packed.js" type="text/javascript"></script>
12 </head>
13
14
15 <body>
16 <div id="body">
17 <h2>Axis Test</h2>
18
19 <div id="example" style="margin: 0 auto 0 auto;" width="400" height="400"></div>
20
21 <script type="text/javascript">
22 var data = [[0,0], [1,2], [2,3], [3, 7], [4, 8], [5, 6]];
23 var options = {"xAxis": [1,4], "yAxis":[1,6]};
24 var plotter = EasyPlot("line", options, $("example"),
25 [data, "sample.txt"]);
26 </script>
27 </div>
28
29 <div class="footer"><a href="http://www.liquidx.net/plotkit/">PlotKit</a></div>
30 </div>
31 </body></html>