X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes-vr.html;h=b714b36e06926a7b273953525d4116e29149e22c;hb=2b66af4f76dcd72d22f5844cb7684f3cb79fde42;hp=712578e6a5ee930a2c7c74c266e922a1dd9012e7;hpb=178b1e0a5023bd55b8636242623e7eb82ac12d5d;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' } );