refactored widget charts

This commit is contained in:
denisdulici
2020-01-03 19:00:38 +03:00
parent 47f9f478d0
commit f6e0c4dfc2
9 changed files with 25 additions and 48 deletions

View File

@@ -23,7 +23,7 @@ class ExpensesByCategory extends Widget
$chart = $this->getDonutChart(trans_choice('general.expenses', 2), 0, 160, 6);
return $this->view('widgets.expenses_by_category', [
return $this->view('widgets.donut_chart', [
'chart' => $chart,
]);
}