Commit | Line | Data |
---|---|---|
6a1aa64f DV |
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: Quickstart Demo</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>Quickstart EasyPlot Demo</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 plotter = EasyPlot("line", {}, $("example"), [data, "sample.txt"]); | |
24 | </script> | |
25 | </div> | |
26 | ||
27 | <div class="footer"><a href="http://www.liquidx.net/plotkit/">PlotKit</a></div> | |
28 | </div> | |
29 | </body></html> |