Skip to content

Commit 8da1569

Browse files
committed
fix round
1 parent b03e8a0 commit 8da1569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

por/dashboard/static/por_backlog/tekken.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function drawChart(){
1010
return Math.floor(data.getValue(rowNum, 1) / data.getValue(rowNum, 2) * 100)
1111
}
1212
function Filler2Perc(data, rowNum){
13-
return Math.floor((data.getValue(rowNum, 2) - data.getValue(rowNum, 1)) / data.getValue(rowNum, 2) * 100)
13+
return Math.floor((data.getValue(rowNum, 2) - data.getValue(rowNum, 1)) / data.getValue(rowNum, 2) * 101) // make sure the math.round will get 100
1414
}
1515
function CRTooltip(data, rowNum){
1616
return '<p id="first_tooltip" class="google-visualization-tooltip-item"><strong>Estimated CR:</strong> ' + data.getValue(rowNum,1) + ' days<br/><strong>Total project:</strong> ' + data.getValue(rowNum, 2) + ' days<br/><strong>Time entries:</strong> ' + data.getValue(rowNum, 0) + ' days</p>'

0 commit comments

Comments
 (0)