X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes.html;h=d1c876bd6b03463e88ff377d9602cca7c92720c9;hb=ccd9d7c2bf76882f57d29161fe69b0db53124f54;hp=d81e10cdcb01504192de48a4fe4e6794d37eadcc;hpb=54425b14df388e9337a1d77876512bb60ba74c3b;p=dygraphs.git diff --git a/tests/two-axes.html b/tests/two-axes.html index d81e10c..d1c876b 100644 --- a/tests/two-axes.html +++ b/tests/two-axes.html @@ -1,14 +1,17 @@ + Multiple y-axes - - - - + + +

Multiple y-axes

@@ -42,12 +45,16 @@ height: 350, 'Y3': { axis: { - // set axis-related properties here - labelsKMB: true } }, 'Y4': { axis: 'Y3' // use the same y-axis as series Y3 + }, + axes: { + y2: { + // set axis-related properties here + labelsKMB: true + } } } );