X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fvalue-axis-formatters.html;h=f69c99da514376f2582eb76f2dc1ffe01a96738a;hb=fd6b8dadbaa0614671bef1508c23d6a932e25081;hp=228ba845a8749fa0d0b871c4f67e54d8141d7bc9;hpb=25ca4e1c935157d4ab13aacd1b8dae327fa0b14e;p=dygraphs.git
diff --git a/tests/value-axis-formatters.html b/tests/value-axis-formatters.html
index 228ba84..f69c99d 100644
--- a/tests/value-axis-formatters.html
+++ b/tests/value-axis-formatters.html
@@ -1,12 +1,9 @@
+
valueFormatter and axisLabelFormatter
-
-
+
@@ -57,8 +54,6 @@
'Y3': { axis: 'y2' },
'Y4': { axis: 'y2' }
},
- xAxisLabelWidth: 100,
- yAxisLabelWidth: 100,
axes: {
x: {
valueFormatter: function(ms) {
@@ -68,6 +63,7 @@
return 'xalf(' + formatDate(d) + ')';
},
pixelsPerLabel: 100,
+ axisLabelWidth: 100,
},
y: {
valueFormatter: function(y) {
@@ -75,7 +71,8 @@
},
axisLabelFormatter: function(y) {
return 'yalf(' + y.toPrecision(2) + ')';
- }
+ },
+ axisLabelWidth: 100
},
y2: {
valueFormatter: function(y2) {