diff --git a/src/GUI/axisitem.cpp b/src/GUI/axisitem.cpp index f1cdb6d9..7dc4ba27 100644 --- a/src/GUI/axisitem.cpp +++ b/src/GUI/axisitem.cpp @@ -30,7 +30,7 @@ private: Ticks::Ticks(double minValue, double maxValue, int maxCount) { double range = niceNum(maxValue - minValue, false); - _d = niceNum(range / maxCount, true); + _d = niceNum(range / maxCount, false); _min = ceil(minValue / _d) * _d; _max = floor(maxValue / _d) * _d; }