projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unit test for animated zooms.
[dygraphs.git]
/
tests
/
avoidMinZero.html
diff --git
a/tests/avoidMinZero.html
b/tests/avoidMinZero.html
index
27ea8f5
..
98c2f82
100644
(file)
--- a/
tests/avoidMinZero.html
+++ b/
tests/avoidMinZero.html
@@
-1,11
+1,7
@@
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>dygraph</title>
<title>dygraph</title>
- <!--[if IE]>
- <script type="text/javascript" src="../excanvas.js"></script>
- <![endif]-->
<!--
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
<!--
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
@@
-17,7
+13,7
@@
<p>1: Line chart with axis at zero problem:</p>
<div id="graph1"></div>
<script type="text/javascript">
<p>1: Line chart with axis at zero problem:</p>
<div id="graph1"></div>
<script type="text/javascript">
- new Dygraph(document.getElementById("graph1"),
+
var g1 =
new Dygraph(document.getElementById("graph1"),
"Date,Temperature\n" +
"2008-05-07,0\n" +
"2008-05-08,1\n" +
"Date,Temperature\n" +
"2008-05-07,0\n" +
"2008-05-08,1\n" +
@@
-31,7
+27,7
@@
<p>2: Step chart with axis at zero problem:</p>
<div id="graphd2"></div>
<script type="text/javascript">
<p>2: Step chart with axis at zero problem:</p>
<div id="graphd2"></div>
<script type="text/javascript">
- new Dygraph(document.getElementById("graphd2"),
+
var g2 =
new Dygraph(document.getElementById("graphd2"),
"Date,Temperature\n" +
"2008-05-07,0\n" +
"2008-05-08,1\n" +
"Date,Temperature\n" +
"2008-05-07,0\n" +
"2008-05-08,1\n" +
@@
-48,7
+44,7
@@
<p>3: Line chart with <code>avoidMinZero</code> option:</p>
<div id="graph3"></div>
<script type="text/javascript">
<p>3: Line chart with <code>avoidMinZero</code> option:</p>
<div id="graph3"></div>
<script type="text/javascript">
- new Dygraph(document.getElementById("graph3"),
+
var g3 =
new Dygraph(document.getElementById("graph3"),
"Date,Temperature\n" +
"2008-05-07,0\n" +
"2008-05-08,1\n" +
"Date,Temperature\n" +
"2008-05-07,0\n" +
"2008-05-08,1\n" +
@@
-65,7
+61,7
@@
<p>4: Step chart with <code>avoidMinZero</code> option:</p>
<div id="graphd4"></div>
<script type="text/javascript">
<p>4: Step chart with <code>avoidMinZero</code> option:</p>
<div id="graphd4"></div>
<script type="text/javascript">
- new Dygraph(document.getElementById("graphd4"),
+
var g4 =
new Dygraph(document.getElementById("graphd4"),
"Date,Temperature\n" +
"2008-05-07,0\n" +
"2008-05-08,1\n" +
"Date,Temperature\n" +
"2008-05-07,0\n" +
"2008-05-08,1\n" +