Commit e3c7a050 authored by David Schnur's avatar David Schnur

Merge pull request #50 from klaemo/patch-1

Switched to a much a faster default tickFormatter.
parents ca050b26 2581a4b9
......@@ -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;
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment