X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes.html;h=24f717a294a6f1afcd4057a4c9260c82532cd345;hb=27fd63fc0ca45c06318bb47dd8c0f6aa074957b8;hp=e3e29ffb4e3e55897ec311815b29b95dbf4f659a;hpb=75e2ab53cb9860deb0082b7bdf1bbb59eaafcc65;p=dygraphs.git diff --git a/tests/two-axes.html b/tests/two-axes.html index e3e29ff..24f717a 100644 --- a/tests/two-axes.html +++ b/tests/two-axes.html @@ -48,12 +48,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: {