projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some dead data handler coder (#787)
[dygraphs.git]
/
tests
/
two-axes.html
diff --git
a/tests/two-axes.html
b/tests/two-axes.html
index
e3e29ff
..
fa187c6
100644
(file)
--- a/
tests/two-axes.html
+++ b/
tests/two-axes.html
@@
-1,16
+1,13
@@
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
- <
meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9
">
+ <
link rel="stylesheet" href="../css/dygraph.css
">
<title>Multiple y-axes</title>
<title>Multiple y-axes</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>
</head>
<body>
</head>
<body>
@@
-48,14
+45,18
@@
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
- 'Y3': {
- axis: {
- }
- },
- 'Y4': {
- axis: 'Y3' // use the same y-axis as series Y3
+ series: {
+ 'Y3': {
+ axis: 'y2'
+ },
+ 'Y4': {
+ axis: 'y2'
+ },
},
axes: {
},
axes: {
+ y: {
+ axisLabelWidth: 60
+ },
y2: {
// set axis-related properties here
labelsKMB: true
y2: {
// set axis-related properties here
labelsKMB: true
@@
-63,7
+64,6
@@
},
ylabel: 'Primary y-axis',
y2label: 'Secondary y-axis',
},
ylabel: 'Primary y-axis',
y2label: 'Secondary y-axis',
- yAxisLabelWidth: 60
}
);
}
);