X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes-vr.html;h=b714b36e06926a7b273953525d4116e29149e22c;hb=056763ed22ccc5bdebc73355841052d0d6815a1f;hp=712578e6a5ee930a2c7c74c266e922a1dd9012e7;hpb=fbd6834a9de994c68825a17fdaae2eaf514227ae;p=dygraphs.git diff --git a/tests/two-axes-vr.html b/tests/two-axes-vr.html index 712578e..b714b36 100644 --- a/tests/two-axes-vr.html +++ b/tests/two-axes-vr.html @@ -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' } );