X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes-vr.html;h=7a32ad33070e7de833dad09444dc608b1e0e2870;hb=f808e16e56550f5260f4cf8c335424925e23e6b5;hp=161f298623bb5ca8d484186ea6985a03171671e8;hpb=4a401b38137b4c4bd09dff59dafb4665874274f4;p=dygraphs.git diff --git a/tests/two-axes-vr.html b/tests/two-axes-vr.html index 161f298..7a32ad3 100644 --- a/tests/two-axes-vr.html +++ b/tests/two-axes-vr.html @@ -1,16 +1,9 @@ - + Multiple y-axes with valueRange - - - + @@ -78,7 +71,11 @@ }, ylabel: 'Primary y-axis', y2label: 'Secondary y-axis', - yAxisLabelWidth: 60 + axes: { + y: { + axisLabelWidth: 60 + } + } } ); @@ -93,7 +90,8 @@ }, axes: { y: { - valueRange: [40, 80] + valueRange: [40, 80], + axisLabelWidth: 60 }, y2: { // set axis-related properties here @@ -102,8 +100,7 @@ } }, ylabel: 'Primary y-axis', - y2label: 'Secondary y-axis', - yAxisLabelWidth: 60 + y2label: 'Secondary y-axis' } );