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">
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"
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>
19 <div id=
"example" style=
"margin: 0 auto 0 auto;" width=
"400" height=
"400"></div>
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"]);
29 <div class=
"footer"><a href=
"http://www.liquidx.net/plotkit/">PlotKit
</a></div>