diff --git a/app/js/modules/graph.js b/app/js/modules/graph.js index 820e505..92f1a8f 100644 --- a/app/js/modules/graph.js +++ b/app/js/modules/graph.js @@ -42,7 +42,7 @@ let Graph = Backbone.View.extend({ var scale = 124 / ceilingLimit; // Var xstep = (280 - 46) / 100; - var xstep = _data.length <= 99 ? 2.34 : ~~(234 / _data.length) ; + var xstep = _data.length <= 99 ? 2.34 : (234 / _data.length) ; var startX = _data.length <= 99 ? 46 + (100 - _data.length) * xstep : 46; for (var x = 0;x < _data.length;x++) {