Commit ca372620 authored by David Schnur's avatar David Schnur

Fixed mistake in code from pull request #50

- The faster toFixed alternative now returns a string, as tickFormatter
is expected to do
parent 7470eeb4
......@@ -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;
};
}
......
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