Skip to content

Firefly III: a personal finances manager

Order chart thing again [skip ci]

James Cole0c0cc417eea7
diff --git a/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php b/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
index ec68e995ae..a2947ee5aa 100644
--- a/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
+++ b/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
@@ -91,14 +91,14 @@ class ChartJsBudgetChartGenerator implements BudgetChartGeneratorInterface
'label' => trans('firefly.overspent'),
'data' => $overspent,
];
- $data['datasets'][] = [
- 'label' => trans('firefly.spent'),
- 'data' => $spent,
- ];
$data['datasets'][] = [
'label' => trans('firefly.left'),
'data' => $left,
];
+ $data['datasets'][] = [
+ 'label' => trans('firefly.spent'),
+ 'data' => $spent,
+ ];
$data['count'] = 3;