Fixing bug with default tickFormatter

Change-Id: If53fdb1bf9563834c58cf2b569d0e1a6a7155eb8
pull/1/head
Sean Jordan 13 years ago
parent b637d67b9b
commit f6f764eb2d

@ -1326,7 +1326,7 @@ Licensed under the MIT license.
axis.tickFormatter = function (value, axis) {
var factor = Math.pow(10, axis.tickDecimals);
var factor = axis.tickDecimals ? Math.pow(10, axis.tickDecimals) : 1;
var formatted = "" + Math.round(value * factor) / factor;
// If tickDecimals was specified, ensure that we have exactly that

Loading…
Cancel
Save