X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes-vr.html;h=7a32ad33070e7de833dad09444dc608b1e0e2870;hb=f160e4ac8166f74d1f0e5604061564fbca5ba5a5;hp=06f7e89298dcac78d4a984d1ae5b7c0841ac8b3f;hpb=25ca4e1c935157d4ab13aacd1b8dae327fa0b14e;p=dygraphs.git diff --git a/tests/two-axes-vr.html b/tests/two-axes-vr.html index 06f7e89..7a32ad3 100644 --- a/tests/two-axes-vr.html +++ b/tests/two-axes-vr.html @@ -1,12 +1,9 @@ + Multiple y-axes with valueRange - - + @@ -74,7 +71,11 @@ }, ylabel: 'Primary y-axis', y2label: 'Secondary y-axis', - yAxisLabelWidth: 60 + axes: { + y: { + axisLabelWidth: 60 + } + } } ); @@ -89,7 +90,8 @@ }, axes: { y: { - valueRange: [40, 80] + valueRange: [40, 80], + axisLabelWidth: 60 }, y2: { // set axis-related properties here @@ -98,8 +100,7 @@ } }, ylabel: 'Primary y-axis', - y2label: 'Secondary y-axis', - yAxisLabelWidth: 60 + y2label: 'Secondary y-axis' } );