X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fvalue-axis-formatters.html;h=31d61ea2d2ab24a7b7a43543e6b23fff32e8ba4d;hb=d97bf726ccc5645e60171f86b134fb29ac31b846;hp=48d0f629326f3c046c744cf73f5b2395719be4dd;hpb=4a401b38137b4c4bd09dff59dafb4665874274f4;p=dygraphs.git diff --git a/tests/value-axis-formatters.html b/tests/value-axis-formatters.html index 48d0f62..31d61ea 100644 --- a/tests/value-axis-formatters.html +++ b/tests/value-axis-formatters.html @@ -1,16 +1,12 @@ - valueFormatter and axisLabelFormatter - - + @@ -61,8 +57,6 @@ 'Y3': { axis: 'y2' }, 'Y4': { axis: 'y2' } }, - xAxisLabelWidth: 100, - yAxisLabelWidth: 100, axes: { x: { valueFormatter: function(ms) { @@ -72,6 +66,7 @@ return 'xalf(' + formatDate(d) + ')'; }, pixelsPerLabel: 100, + axisLabelWidth: 100, }, y: { valueFormatter: function(y) { @@ -79,7 +74,8 @@ }, axisLabelFormatter: function(y) { return 'yalf(' + y.toPrecision(2) + ')'; - } + }, + axisLabelWidth: 100 }, y2: { valueFormatter: function(y2) {