X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fvalue-axis-formatters.html;h=31d61ea2d2ab24a7b7a43543e6b23fff32e8ba4d;hb=2b66af4f76dcd72d22f5844cb7684f3cb79fde42;hp=c7b8a16269efb2daeae17fa6df58779ad9266a46;hpb=178b1e0a5023bd55b8636242623e7eb82ac12d5d;p=dygraphs.git diff --git a/tests/value-axis-formatters.html b/tests/value-axis-formatters.html index c7b8a16..31d61ea 100644 --- a/tests/value-axis-formatters.html +++ b/tests/value-axis-formatters.html @@ -57,8 +57,6 @@ 'Y3': { axis: 'y2' }, 'Y4': { axis: 'y2' } }, - xAxisLabelWidth: 100, - yAxisLabelWidth: 100, axes: { x: { valueFormatter: function(ms) { @@ -68,6 +66,7 @@ return 'xalf(' + formatDate(d) + ')'; }, pixelsPerLabel: 100, + axisLabelWidth: 100, }, y: { valueFormatter: function(y) { @@ -75,7 +74,8 @@ }, axisLabelFormatter: function(y) { return 'yalf(' + y.toPrecision(2) + ')'; - } + }, + axisLabelWidth: 100 }, y2: { valueFormatter: function(y2) {