Bug 284. Check that user_attrs_ and attrs_ !== null and remove mouse event handler...
[dygraphs.git] / tests / two-series.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
5 <title>two series</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
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
15 <script type="text/javascript" src="data.js"></script>
16 </head>
17 <body>
18 <p>No rollup:</p>
19 <div id="div_g" style="width:600px; height:300px;"></div>
20 <p>30-Day Rollup:</p>
21 <div id="div_g30" style="width:600px; height:300px;"></div>
22
23 <script type="text/javascript">
24 g = new Dygraph(
25 document.getElementById("div_g"),
26 data, {}
27 );
28 g30 = new Dygraph(
29 document.getElementById("div_g30"),
30 data, {
31 rollPeriod: 30
32 }
33 );
34 </script>
35 </body>
36 </html>