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