Fixed mistake in code from pull request #50

- The faster toFixed alternative now returns a string, as tickFormatter
is expected to do
pull/1/head
David Schnur 14 years ago
parent 7470eeb4e9
commit ca372620e0

@ -1220,7 +1220,7 @@
axis.tickFormatter = function (v, axis) {
var factor = Math.pow(10, axis.tickDecimals);
return Math.round(v * factor) / factor;
return "" + Math.round(v * factor) / factor;
};
}

Loading…
Cancel
Save