X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fvalue-axis-formatters.html;fp=tests%2Fvalue-axis-formatters.html;h=184101e72da4b37cc56d0c952e536e452ef50df7;hb=27fd63fc0ca45c06318bb47dd8c0f6aa074957b8;hp=193c48e2100a263bbab951d821ffbc9531f93d16;hpb=8887663f6cb6a96cecc1c88d46720438cbab9db0;p=dygraphs.git diff --git a/tests/value-axis-formatters.html b/tests/value-axis-formatters.html index 193c48e..184101e 100644 --- a/tests/value-axis-formatters.html +++ b/tests/value-axis-formatters.html @@ -50,12 +50,9 @@ labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ], width: 640, height: 350, - 'Y3': { - axis: { - } - }, - 'Y4': { - axis: 'Y3' // use the same y-axis as series Y3 + series: { + 'Y3': { axis: 'y2' }, + 'Y4': { axis: 'y2' } }, xAxisLabelWidth: 100, yAxisLabelWidth: 100,