cleanup
[dygraphs.git] / tests / century-scale.html
CommitLineData
54425b14 1<!DOCTYPE html>
d4f353ca
DV
2<html>
3 <head>
10494b48 4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
d4f353ca
DV
5 <title>demo</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
7e5ddc94
DV
9 <!--
10 For production (minified) code, use:
11 <script type="text/javascript" src="dygraph-combined.js"></script>
12 -->
13 <script type="text/javascript" src="../dygraph-dev.js"></script>
14
d4f353ca
DV
15 </head>
16 <body>
17 <h2>Demo</h2>
18 <font size=-1>(Mouse over to highlight individual values. Click and drag to zoom. Double-click to zoom out.)</font><br/>
19 <table><tr><td>
20 <div id="demodiv"></div>
21 </td><td valign=top>
22 <div id="status" style="width:200px; font-size:0.8em; padding-top:5px;"></div>
23 </td>
24 </tr></table>
25 <script type="text/javascript">
26 g = new Dygraph(
27 document.getElementById("demodiv"),
28 "Date,Value\n" +
29 "1776/01/01,100\n" +
30 "1876/01/01,200\n" +
31 "1976/01/01,150\n",
32 {
33 rollPeriod: 1,
34 labelsDiv: document.getElementById('status'),
35 labelsSeparateLines: true,
36 labelsKMB: true,
37 colors: ["rgb(51,204,204)",
38 "rgb(255,100,100)",
39 "#00DD55",
40 "rgba(50,50,200,0.4)"],
d4f353ca
DV
41 width: 480,
42 height: 320
43 }
44 );
45 </script>
46</body>
47</html>