Experimental chart fix.

This commit is contained in:
James Cole 2015-10-17 21:14:25 +02:00
parent f5216c0d85
commit e54a56d3a8

View File

@ -98,7 +98,7 @@ class ChartJsBudgetChartGenerator implements BudgetChartGenerator
];
$data['datasets'][] = [
'label' => trans('firefly.overspent'),
'data' => $overspent,
'data' => $overspent * -1,
];
$data['count'] = count($data['datasets']);