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
/
spacing.html
diff --git
a/tests/spacing.html
b/tests/spacing.html
index
ca84bb1
..
a3e1fde
100644
(file)
--- a/
tests/spacing.html
+++ b/
tests/spacing.html
@@
-2,30
+2,34
@@
<head>
<title>spacing</title>
<!--[if IE]>
<head>
<title>spacing</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>Wide</p>
<script type="text/javascript" src="../dygraph.js"></script>
<script type="text/javascript" src="data.js"></script>
</head>
<body>
<p>Wide</p>
- <div id="
g" style="width:6
00px; height:300px;"></div>
+ <div id="
div_g" style="width:8
00px; height:300px;"></div>
<p>Narrow</p>
<p>Narrow</p>
- <div id="g2" style="width:300px; height:200px;"></div>
+ <div id="
div_
g2" style="width:300px; height:200px;"></div>
<script type="text/javascript">
<script type="text/javascript">
- g = new DateGraph(
- document.getElementById("g"),
- data, null, {
- rollPeriod: 7
+ g = new Dygraph(
+ document.getElementById("div_g"),
+ data, {
+ rollPeriod: 7,
+ pixelsPerYLabel: 20
}
);
}
);
- g2 = new D
ateG
raph(
- document.getElementById("g2"),
- data,
null,
{
+ g2 = new D
yg
raph(
+ document.getElementById("
div_
g2"),
+ data, {
rollPeriod: 7,
rollPeriod: 7,
+ pixelsPerYLabel: 20
}
);
</script>
}
);
</script>