X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes.html;h=f583263f186bfb4606439feaf80b3a80b8216018;hb=2a1f00d810b5c4f04b72bc6a393380b858f70909;hp=e3e29ffb4e3e55897ec311815b29b95dbf4f659a;hpb=b839102723a21830b8896413f9c3fa9b7c643238;p=dygraphs.git diff --git a/tests/two-axes.html b/tests/two-axes.html index e3e29ff..f583263 100644 --- a/tests/two-axes.html +++ b/tests/two-axes.html @@ -1,16 +1,12 @@ - Multiple y-axes - - + @@ -48,12 +44,13 @@ 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: { y2: {