mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
Experimental chart fix.
This commit is contained in:
parent
f5216c0d85
commit
e54a56d3a8
@ -98,7 +98,7 @@ class ChartJsBudgetChartGenerator implements BudgetChartGenerator
|
|||||||
];
|
];
|
||||||
$data['datasets'][] = [
|
$data['datasets'][] = [
|
||||||
'label' => trans('firefly.overspent'),
|
'label' => trans('firefly.overspent'),
|
||||||
'data' => $overspent,
|
'data' => $overspent * -1,
|
||||||
];
|
];
|
||||||
|
|
||||||
$data['count'] = count($data['datasets']);
|
$data['count'] = count($data['datasets']);
|
||||||
|
Loading…
Reference in New Issue
Block a user