Skip to content

Firefly III: a personal finances manager

Experimental chart fix.

James Colee54a56d3a879
diff --git a/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php b/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
index d91a293286..75347ee8a4 100644
--- a/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
+++ b/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
@@ -98,7 +98,7 @@ class ChartJsBudgetChartGenerator implements BudgetChartGenerator
];
$data['datasets'][] = [
'label' => trans('firefly.overspent'),
- 'data' => $overspent,
+ 'data' => $overspent * -1,
];
$data['count'] = count($data['datasets']);