5 <script type=
"text/javascript" src=
"excanvas.js"></script>
7 <script type=
"text/javascript" src=
"../strftime/strftime-min.js"></script>
8 <script type=
"text/javascript" src=
"../rgbcolor/rgbcolor.js"></script>
9 <script type=
"text/javascript" src=
"../dygraph-canvas.js"></script>
10 <script type=
"text/javascript" src=
"../dygraph.js"></script>
15 <script type=
"text/javascript">
17 document.getElementById(
"g"),
19 var zp = function(x) { if (x <
10) return
"0"+x; else return x; };
20 var r =
"date,parabola,line,another line,sine wave\n";
21 for (var i=
1; i<=
31; i++) {
22 r +=
"200610" + zp(i);
23 r +=
"," +
10*(i*(
31-i));
25 r +=
"," +
10*(
250 -
8*i);
26 r +=
"," +
10*(
125 +
125 * Math.sin(
0.3*i));