X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes-vr.html;h=12e8025379f9d786cbc0f9c8b8c530bb62103f9f;hb=406eddbbdea074df010fc3c432185bc78f9a5814;hp=0646b9a24e0baefdef961530077892f9a99f11c4;hpb=30abcfb6d82bb759400f4fad15a691ffad77d049;p=dygraphs.git diff --git a/tests/two-axes-vr.html b/tests/two-axes-vr.html index 0646b9a..12e8025 100644 --- a/tests/two-axes-vr.html +++ b/tests/two-axes-vr.html @@ -43,13 +43,8 @@ { labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ], series : { - 'Y3': { - axis: { - } - }, - 'Y4': { - axis: 'Y3' // use the same y-axis as series Y3 - } + 'Y3': { axis: 'y2' }, + 'Y4': { axis: 'y2' } }, valueRange: [40, 70], axes: { @@ -70,13 +65,8 @@ { labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ], series : { - 'Y3': { - axis: { - } - }, - 'Y4': { - axis: 'Y3' // use the same y-axis as series Y3 - } + 'Y3': { axis: 'y2' }, + 'Y4': { axis: 'y2' } }, axes: { y: { @@ -99,13 +89,8 @@ { labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ], series : { - 'Y3': { - axis: { - } - }, - 'Y4': { - axis: 'Y3' // use the same y-axis as series Y3 - } + 'Y3': { axis: 'y2' }, + 'Y4': { axis: 'y2' } }, axes: { y: {