Remove unused values from charts.

This commit is contained in:
James Cole 2019-02-02 12:34:58 +01:00
parent f39676eedd
commit 93e18ea195
3 changed files with 0 additions and 18 deletions

View File

@ -119,8 +119,6 @@ class AccountController extends Controller
'currency_decimal_places' => $currency->decimal_places,
'type' => 'bar', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => $this->expandNames($tempData),
];
$chartData[$currencyId] = $currentSet;
@ -209,8 +207,6 @@ class AccountController extends Controller
'currency_decimal_places' => $currency->decimal_places,
'type' => 'bar', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => $this->expandNames($tempData),
];
$chartData[$currencyId] = $currentSet;
@ -271,8 +267,6 @@ class AccountController extends Controller
'currency_decimal_places' => $currency->decimal_places,
'type' => 'line', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => [],
];

View File

@ -73,8 +73,6 @@ class AvailableBudgetController extends Controller
'currency_decimal_places' => $currency->decimal_places,
'type' => 'pie',
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => [$spent * -1],
],
[
@ -85,8 +83,6 @@ class AvailableBudgetController extends Controller
'currency_decimal_places' => $currency->decimal_places,
'type' => 'line', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => [round($left, $currency->decimal_places)],
],
];

View File

@ -76,8 +76,6 @@ class CategoryController extends Controller
'currency_decimal_places' => $decimalPlaces,
'type' => 'bar', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => [],
];
}
@ -105,8 +103,6 @@ class CategoryController extends Controller
'currency_decimal_places' => $decimalPlaces,
'type' => 'bar', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => [],
];
}
@ -134,8 +130,6 @@ class CategoryController extends Controller
'currency_decimal_places' => $decimalPlaces,
'type' => 'bar', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => [],
];
}
@ -163,8 +157,6 @@ class CategoryController extends Controller
'currency_decimal_places' => $decimalPlaces,
'type' => 'bar', // line, area or bar
'yAxisID' => 0, // 0, 1, 2
'fill' => null, // true, false, null
'backgroundColor' => null, // null or hex
'entries' => [],
];
}