From e54a56d3a879fd480a75796d607c7256dbb3dba8 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 17 Oct 2015 21:14:25 +0200 Subject: [PATCH] Experimental chart fix. --- app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);