mirror of
https://github.com/YGGverse/graph-php.git
synced 2026-03-31 09:35:31 +00:00
replace round to ceil
This commit is contained in:
parent
72ee9ec227
commit
291059ea96
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class Month
|
|||
$this->_node[$i][$l][$j]['height'] = $hours[$i][$l] ? ceil($data['value'] / $hours[$i][$l] * 100) : 0;
|
||||
break;
|
||||
default:
|
||||
$this->_node[$i][$l][$j]['height'] = $month ? round($data['value'] * ($month / 100)) : 0;
|
||||
$this->_node[$i][$l][$j]['height'] = $month ? ceil($data['value'] * ($month / 100)) : 0;
|
||||
}
|
||||
|
||||
$this->_node[$i][$l][$j]['width'] = $width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue