Skip to content

Commit

Permalink
Not be rounded, must be ceil
Browse files Browse the repository at this point in the history
  • Loading branch information
moznion committed Apr 15, 2014
1 parent 2cc8a9e commit 585e18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/static/js/elapsed-time-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function drawElapsedTimeGraph($drawArea, elapsedTimes, spot) {
]
};

var maxVal = Math.round(Math.max.apply(null, elapsedTimes) / 100) * 100;
var maxVal = Math.ceil(Math.max.apply(null, elapsedTimes) / 100) * 100;

var ctx = $drawArea.get(0).getContext("2d");
var myNewChart = new Chart(ctx).Line(data, {
Expand Down

0 comments on commit 585e18b

Please sign in to comment.