Merge branch 'master' of https://github.com/kberg/dygraphs
[dygraphs.git] / tests / two-series.html
CommitLineData
54425b14 1<!DOCTYPE html>
4e265dc4
DV
2<html>
3 <head>
10494b48 4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
4e265dc4
DV
5 <title>two series</title>
6 <!--[if IE]>
a2b2c3a1 7 <script type="text/javascript" src="../excanvas.js"></script>
4e265dc4 8 <![endif]-->
d37dca40
DV
9 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
10 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
285a6bda 11 <script type="text/javascript" src="../dygraph-canvas.js"></script>
fd2a2ee2 12 <script type="text/javascript" src="../dygraph.js"></script>
4e265dc4
DV
13 <script type="text/javascript" src="data.js"></script>
14 </head>
15 <body>
16 <p>No rollup:</p>
d16579a0 17 <div id="div_g" style="width:600px; height:300px;"></div>
4e265dc4 18 <p>30-Day Rollup:</p>
d16579a0 19 <div id="div_g30" style="width:600px; height:300px;"></div>
4e265dc4
DV
20
21 <script type="text/javascript">
285a6bda 22 g = new Dygraph(
d16579a0 23 document.getElementById("div_g"),
285a6bda 24 data, {}
4e265dc4 25 );
285a6bda 26 g30 = new Dygraph(
d16579a0 27 document.getElementById("div_g30"),
285a6bda 28 data, {
4e265dc4
DV
29 rollPeriod: 30
30 }
31 );
32 </script>
33 </body>
34</html>