projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarification of the point/points parameters.
[dygraphs.git]
/
tests
/
two-series.html
diff --git
a/tests/two-series.html
b/tests/two-series.html
index
b065d5d
..
6054f2e
100644
(file)
--- a/
tests/two-series.html
+++ b/
tests/two-series.html
@@
-1,26
+1,33
@@
+<!DOCTYPE html>
<html>
<head>
<html>
<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>two series</title>
<!--[if IE]>
<title>two series</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>
+ <!--
+ For production (minified) code, use:
+ <script type="text/javascript" src="dygraph-combined.js"></script>
+ -->
+ <script type="text/javascript" src="../dygraph-dev.js"></script>
+
<script type="text/javascript" src="data.js"></script>
</head>
<body>
<p>No rollup:</p>
<script type="text/javascript" src="data.js"></script>
</head>
<body>
<p>No rollup:</p>
- <div id="g" style="width:600px; height:300px;"></div>
+ <div id="
div_
g" style="width:600px; height:300px;"></div>
<p>30-Day Rollup:</p>
<p>30-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"),
- data,
null,
{}
+ g = new D
yg
raph(
+ document.getElementById("
div_
g"),
+ data, {}
);
);
- g30 = new D
ateG
raph(
- document.getElementById("g30"),
- data,
null,
{
+ g30 = new D
yg
raph(
+ document.getElementById("
div_
g30"),
+ data, {
rollPeriod: 30
}
);
rollPeriod: 30
}
);