projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #761 from justinsg/master
[dygraphs.git]
/
tests
/
custom-bars.html
diff --git
a/tests/custom-bars.html
b/tests/custom-bars.html
index
5dd2617
..
faa08ad
100644
(file)
--- a/
tests/custom-bars.html
+++ b/
tests/custom-bars.html
@@
-1,16
+1,12
@@
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>custom bars</title>
<title>custom bars</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>
-->
- <script type="text/javascript" src="../d
ygraph-dev
.js"></script>
+ <script type="text/javascript" src="../d
ist/dygraph
.js"></script>
<script type="text/javascript" src="data.js"></script>
</head>
<script type="text/javascript" src="data.js"></script>
</head>
@@
-19,7
+15,7
@@
<div id="graph"></div>
<script type="text/javascript">
<div id="graph"></div>
<script type="text/javascript">
- new Dygraph(document.getElementById("graph"),
+
var g =
new Dygraph(document.getElementById("graph"),
[
[1, [10, 10, 100]],
[2, [15, 20, 110]],
[
[1, [10, 10, 100]],
[2, [15, 20, 110]],
@@
-32,7
+28,8
@@
[9, [10, 50, 100]]
], {
customBars: true,
[9, [10, 50, 100]]
], {
customBars: true,
- errorBars: true
+ errorBars: true,
+ labels: ['X', 'Y']
}
);
</script>
}
);
</script>