projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the ignore of datahandler folder.
[dygraphs.git]
/
tests
/
two-axes-vr.html
diff --git
a/tests/two-axes-vr.html
b/tests/two-axes-vr.html
index
5814435
..
06f7e89
100644
(file)
--- a/
tests/two-axes-vr.html
+++ b/
tests/two-axes-vr.html
@@
-1,11
+1,7
@@
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>Multiple y-axes with valueRange</title>
<title>Multiple y-axes with valueRange</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>
@@
-42,12
+38,9
@@
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' }
},
valueRange: [40, 70],
axes: {
},
valueRange: [40, 70],
axes: {
@@
-57,8
+50,7
@@
}
},
ylabel: 'Primary y-axis',
}
},
ylabel: 'Primary y-axis',
- y2label: 'Secondary y-axis',
- yAxisLabelWidth: 60
+ y2label: 'Secondary y-axis'
}
);
}
);
@@
-67,12
+59,9
@@
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: {
y: {
},
axes: {
y: {
@@
-89,17
+78,14
@@
}
);
}
);
- g
2
= new Dygraph(
+ g
3
= new Dygraph(
document.getElementById("demodiv_two"),
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
document.getElementById("demodiv_two"),
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: {
y: {
},
axes: {
y: {