projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of http://github.com/danvk/dygraphs
[dygraphs.git]
/
tests
/
noise.html
diff --git
a/tests/noise.html
b/tests/noise.html
index
ed46844
..
bdec05f
100644
(file)
--- a/
tests/noise.html
+++ b/
tests/noise.html
@@
-2,29
+2,31
@@
<head>
<title>noise</title>
<!--[if IE]>
<head>
<title>noise</title>
<!--[if IE]>
- <script type="text/javascript" src="excanvas.js"></script>
+ <script type="text/javascript" src="
../
excanvas.js"></script>
<![endif]-->
<![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>
<script type="text/javascript" src="data.js"></script>
</head>
<body>
<p>7-day rollup:</p>
<script type="text/javascript" src="../dygraph.js"></script>
<script type="text/javascript" src="data.js"></script>
</head>
<body>
<p>7-day rollup:</p>
- <div id="g" style="width:600px; height:300px;"></div>
+ <div id="
div_
g" style="width:600px; height:300px;"></div>
<p>14-Day Rollup:</p>
<p>14-Day Rollup:</p>
- <div id="g30" style="width:600px; height:300px;"></div>
+ <div id="
div_
g30" style="width:600px; height:300px;"></div>
<script type="text/javascript">
<script type="text/javascript">
- g = new D
ateG
raph(
- document.getElementById("g"),
- NoisyData,
null,
{
+ g = new D
yg
raph(
+ document.getElementById("
div_
g"),
+ NoisyData, {
rollPeriod: 7,
errorBars: true
}
);
rollPeriod: 7,
errorBars: true
}
);
- g30 = new D
ateG
raph(
- document.getElementById("g30"),
- NoisyData
, null
, {
+ g30 = new D
yg
raph(
+ document.getElementById("
div_
g30"),
+ NoisyData
().replace(/,/g, "\t")
, {
rollPeriod: 14,
errorBars: true
}
rollPeriod: 14,
errorBars: true
}