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
/
border.html
diff --git
a/tests/border.html
b/tests/border.html
index
8fba03d
..
5bfa44f
100644
(file)
--- a/
tests/border.html
+++ b/
tests/border.html
@@
-2,14
+2,16
@@
<head>
<title>gadget border</title>
<!--[if IE]>
<head>
<title>gadget border</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>
<style type="text/css">
#bordered {
<script type="text/javascript" src="../dygraph.js"></script>
<script type="text/javascript" src="data.js"></script>
<style type="text/css">
#bordered {
- border: 1px solid
black
;
+ border: 1px solid
red
;
}
</style>
</head>
}
</style>
</head>
@@
-17,8
+19,10
@@
<p>Hopefully this stays in its border:</p>
<div id="bordered" style="width:600px; height:300px;"></div>
<script type="text/javascript">
<p>Hopefully this stays in its border:</p>
<div id="bordered" style="width:600px; height:300px;"></div>
<script type="text/javascript">
- new DateGraph(document.getElementById('bordered'),
- data, null, {});
+ new Dygraph(document.getElementById('bordered'), data,
+ {
+ labelsDivStyles: { border: '1px solid black' }
+ });
</script>
</body>
</html>
</script>
</body>
</html>