Remove MochiKit dependence and update combined. Down to 45k!!
[dygraphs.git] / tests / two-series.html
1 <html>
2 <head>
3 <title>two series</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 <script type="text/javascript" src="data.js"></script>
11 </head>
12 <body>
13 <p>No rollup:</p>
14 <div id="g" style="width:600px; height:300px;"></div>
15 <p>30-Day Rollup:</p>
16 <div id="g30" style="width:600px; height:300px;"></div>
17
18 <script type="text/javascript">
19 g = new Dygraph(
20 document.getElementById("g"),
21 data, {}
22 );
23 g30 = new Dygraph(
24 document.getElementById("g30"),
25 data, {
26 rollPeriod: 30
27 }
28 );
29 </script>
30 </body>
31 </html>