projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add advice about delaying dygraph instantiation when using excanvas.
[dygraphs.git]
/
tests
/
two-axes-vr.html
diff --git
a/tests/two-axes-vr.html
b/tests/two-axes-vr.html
index
5814435
..
0646b9a
100644
(file)
--- a/
tests/two-axes-vr.html
+++ b/
tests/two-axes-vr.html
@@
-42,13
+42,15
@@
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
- 'Y3': {
- axis: {
+ series : {
+ 'Y3': {
+ axis: {
+ }
+ },
+ 'Y4': {
+ axis: 'Y3' // use the same y-axis as series Y3
}
},
}
},
- 'Y4': {
- axis: 'Y3' // use the same y-axis as series Y3
- },
valueRange: [40, 70],
axes: {
y2: {
valueRange: [40, 70],
axes: {
y2: {
@@
-67,13
+69,15
@@
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
- 'Y3': {
- axis: {
+ series : {
+ 'Y3': {
+ axis: {
+ }
+ },
+ 'Y4': {
+ axis: 'Y3' // use the same y-axis as series Y3
}
},
}
},
- 'Y4': {
- axis: 'Y3' // use the same y-axis as series Y3
- },
axes: {
y: {
valueRange: [40, 80]
axes: {
y: {
valueRange: [40, 80]
@@
-94,13
+98,15
@@
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
data,
{
labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
- 'Y3': {
- axis: {
+ series : {
+ 'Y3': {
+ axis: {
+ }
+ },
+ 'Y4': {
+ axis: 'Y3' // use the same y-axis as series Y3
}
},
}
},
- 'Y4': {
- axis: 'Y3' // use the same y-axis as series Y3
- },
axes: {
y: {
valueRange: [40, 80]
axes: {
y: {
valueRange: [40, 80]