projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
push flashcanvas to web
[dygraphs.git]
/
tests
/
customLabel.html
diff --git
a/tests/customLabel.html
b/tests/customLabel.html
index
c6a1c92
..
e3c2e20
100644
(file)
--- a/
tests/customLabel.html
+++ b/
tests/customLabel.html
@@
-1,34
+1,33
@@
+<!DOCTYPE html>
<html>
<head>
<title>Label styles</title>
<!--[if IE]>
<html>
<head>
<title>Label styles</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>Labels are transparent and repositioned:</p>
<script type="text/javascript" src="../dygraph.js"></script>
<script type="text/javascript" src="data.js"></script>
</head>
<body>
<p>Labels are transparent and repositioned:</p>
- <div id="g14" style="width:600px; height:300px;"></div>
+ <div id="
div_
g14" style="width:600px; height:300px;"></div>
<script type="text/javascript">
<script type="text/javascript">
- g14 = new D
ateG
raph(
- document.getElementById("g14"),
- NoisyData,
null,
{
+ g14 = new D
yg
raph(
+ document.getElementById("
div_
g14"),
+ NoisyData, {
rollPeriod: 14,
errorBars: true,
rollPeriod: 14,
errorBars: true,
- labelsDivWidth: 1
6
0,
+ labelsDivWidth: 1
0
0,
labelsDivStyles: {
'background-color': 'transparent',
labelsDivStyles: {
'background-color': 'transparent',
- 'top': '10px'
+ 'top': '
2
10px'
},
},
- padding: {
- left: 40,
- top: 0,
- right: 10,
- bottom: 10
- }
+ labelsSeparateLines: true,
+ yAxisLabelWidth: 20
}
);
</script>
}
);
</script>