Support line continuation in JSON format.
[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]-->
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
4e265dc4
DV
15 <script type="text/javascript" src="data.js"></script>
16 </head>
17 <body>
18 <p>No rollup:</p>
d16579a0 19 <div id="div_g" style="width:600px; height:300px;"></div>
4e265dc4 20 <p>30-Day Rollup:</p>
d16579a0 21 <div id="div_g30" style="width:600px; height:300px;"></div>
4e265dc4
DV
22
23 <script type="text/javascript">
285a6bda 24 g = new Dygraph(
d16579a0 25 document.getElementById("div_g"),
285a6bda 26 data, {}
4e265dc4 27 );
285a6bda 28 g30 = new Dygraph(
d16579a0 29 document.getElementById("div_g30"),
285a6bda 30 data, {
4e265dc4
DV
31 rollPeriod: 30
32 }
33 );
34 </script>
35 </body>
36</html>