projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sample annotation
[dygraphs.git]
/
tests
/
hourly.html
diff --git
a/tests/hourly.html
b/tests/hourly.html
index
95900e1
..
68d5d2c
100644
(file)
--- a/
tests/hourly.html
+++ b/
tests/hourly.html
@@
-1,26
+1,27
@@
<html>
<head>
<html>
<head>
- <title>
noise
</title>
+ <title>
hourly
</title>
<!--[if IE]>
<script type="text/javascript" src="excanvas.js"></script>
<![endif]-->
<!--[if IE]>
<script type="text/javascript" src="excanvas.js"></script>
<![endif]-->
- <script type="text/javascript" src="../dygraph-combined.js"></script>
+ <script type="text/javascript" src="../strftime/strftime-min.js"></script>
+ <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
<script type="text/javascript" src="../dygraph-canvas.js"></script>
<script type="text/javascript" src="../dygraph.js"></script>
</head>
<body>
<p>Hourly data:</p>
<script type="text/javascript" src="../dygraph-canvas.js"></script>
<script type="text/javascript" src="../dygraph.js"></script>
</head>
<body>
<p>Hourly data:</p>
- <div id="g" style="width:600px; height:300px;"></div>
+ <div id="
div_
g" style="width:600px; height:300px;"></div>
<p>Minutely data:</p>
<p>Minutely data:</p>
- <div id="gm" style="width:600px; height:300px;"></div>
+ <div id="
div_
gm" style="width:600px; height:300px;"></div>
<p>Secondly data:</p>
<p>Secondly data:</p>
- <div id="gs" style="width:600px; height:300px;"></div>
+ <div id="
div_
gs" style="width:600px; height:300px;"></div>
<script type="text/javascript">
g = new Dygraph(
<script type="text/javascript">
g = new Dygraph(
- document.getElementById("g"),
+ document.getElementById("
div_
g"),
function HourlyData() {
return "" +
"Date,A,B\n" +
function HourlyData() {
return "" +
"Date,A,B\n" +
@@
-35,7
+36,7
@@
);
gm = new Dygraph(
);
gm = new Dygraph(
- document.getElementById("gm"),
+ document.getElementById("
div_
gm"),
function() {
var ret = "Date,Hours,Minutes\n";
var zp = function(x) { if (x<10) return "0"+x; else return ""+x;};
function() {
var ret = "Date,Hours,Minutes\n";
var zp = function(x) { if (x<10) return "0"+x; else return ""+x;};
@@
-52,7
+53,7
@@
);
gs = new Dygraph(
);
gs = new Dygraph(
- document.getElementById("gs"),
+ document.getElementById("
div_
gs"),
function() {
var ret = "Date,Minutes,Seconds\n";
var zp = function(x) { if (x<10) return "0"+x; else return ""+x;};
function() {
var ret = "Date,Minutes,Seconds\n";
var zp = function(x) { if (x<10) return "0"+x; else return ""+x;};