Update chart [skip ci]

This commit is contained in:
James Cole 2015-05-04 18:51:51 +02:00
parent 369695ab32
commit 1ff99346aa

View File

@ -178,8 +178,10 @@ class GoogleChartController extends Controller
$left = $entry[1] - $entry[2];
if ($left > 0) {
$chart->addRow($entry[0], $left, null);
} else if($left < 0) {
$chart->addRow($entry[0], null, $left);
} else {
if ($left < 0) {
$chart->addRow($entry[0], null, $left);
}
}
}