X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes-vr.html;h=b714b36e06926a7b273953525d4116e29149e22c;hb=ca8c85838e6a98c17d7f62bb4e3f43e9244b1385;hp=06f7e89298dcac78d4a984d1ae5b7c0841ac8b3f;hpb=2cfce1c8103454bca196e57db3f23272b7ee5b6e;p=dygraphs.git diff --git a/tests/two-axes-vr.html b/tests/two-axes-vr.html index 06f7e89..b714b36 100644 --- a/tests/two-axes-vr.html +++ b/tests/two-axes-vr.html @@ -6,7 +6,7 @@ For production (minified) code, use: --> - + @@ -74,7 +74,11 @@ }, ylabel: 'Primary y-axis', y2label: 'Secondary y-axis', - yAxisLabelWidth: 60 + axes: { + y: { + axisLabelWidth: 60 + } + } } ); @@ -89,7 +93,8 @@ }, axes: { y: { - valueRange: [40, 80] + valueRange: [40, 80], + axisLabelWidth: 60 }, y2: { // set axis-related properties here @@ -98,8 +103,7 @@ } }, ylabel: 'Primary y-axis', - y2label: 'Secondary y-axis', - yAxisLabelWidth: 60 + y2label: 'Secondary y-axis' } );