Commit 7c7e3f84 authored by Mathieu Giraud's avatar Mathieu Giraud

js/numerical_axis.js: do not use anymore computeSteps()

Everything should now be in nice_min_max_steps()
parent 9411de90
......@@ -236,9 +236,10 @@ NumericalAxis.prototype = Object.create(GenericAxis.prototype);
NumericalAxis.prototype.computeSteps = function(min, max, nb_steps) {
var steps = nb_steps;
if (Math.abs(max - min) < nb_steps) {
steps = Math.abs(max - min)
}
// if (Math.abs(max - min) < nb_steps) {
// steps = Math.abs(max - min)
// }
return steps;
}
......
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