Merge pull request #50 from klaemo/patch-1

Switched to a much a faster default tickFormatter.
pull/1/head
David Schnur 14 years ago
commit e3c7a05063

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

Loading…
Cancel
Save