4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
7 <script type=
"text/javascript" src=
"../excanvas.js"></script>
9 <script type=
"text/javascript" src=
"../strftime/strftime-min.js"></script>
10 <script type=
"text/javascript" src=
"../rgbcolor/rgbcolor.js"></script>
11 <script type=
"text/javascript" src=
"../dygraph-canvas.js"></script>
12 <script type=
"text/javascript" src=
"../dygraph.js"></script>
16 <div id=
"div_g" style=
"width:600px; height:300px;"></div>
19 <div id=
"div_gm" style=
"width:600px; height:300px;"></div>
22 <div id=
"div_gs" style=
"width:600px; height:300px;"></div>
24 <script type=
"text/javascript">
26 document.getElementById(
"div_g"),
27 function HourlyData() {
30 "2009/07/12 00:00:00,3,4\n" +
31 "2009/07/12 01:00:00,5,6\n" +
32 "2009/07/12 02:00:00,7,6\n" +
33 "2009/07/12 03:00:00,6,5\n" +
34 "2009/07/12 04:00:00,4,7\n" +
35 "2009/07/12 05:00:00,3,6\n" +
36 "2009/07/12 06:00:00,4,6"
41 document.getElementById(
"div_gm"),
43 var ret =
"Date,Hours,Minutes\n";
44 var zp = function(x) { if (x
<10) return
"0"+x; else return
""+x;};
45 for (var d =
0; d <=
1; d++) {
46 for (var h =
0; h <
24; h++) {
47 for (var m =
0; m <
60; m++) {
48 ret +=
"2008/07/" + zp(
12 + d) +
" " + zp(h) +
":" + zp(m) +
49 "," + (
24*d + h) +
"," + m +
"\n";
58 document.getElementById(
"div_gs"),
60 var ret =
"Date,Minutes,Seconds\n";
61 var zp = function(x) { if (x
<10) return
"0"+x; else return
""+x;};
62 for (var h =
0; h <=
1; h++) {
63 for (var m =
0; m <
60; m++) {
64 for (var s =
0; s <
60; s++) {
65 ret +=
"2008/07/01 " + zp(h) +
":" + zp(m) +
":" + zp(s) +
66 "," + (h*
60 + m) +
"," + s +
"\n";