From: Dan Vanderkam Date: Sat, 22 Nov 2014 06:42:03 +0000 (-0500) Subject: fix two-axes-vr X-Git-Tag: v1.1.0~15^2~1 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=e4dfed737ded1fc844e671892b6b9ead52fa5844;p=dygraphs.git fix two-axes-vr --- 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: {