text controlled for donut chart

This commit is contained in:
Burak Civan
2022-06-10 17:39:14 +03:00
parent 7ac29e566d
commit baf597ee70
6 changed files with 62 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ class ExpensesByCategory extends Widget
$chart = $this->getDonutChart(trans_choice('general.expenses', 2), '100%', 300, 6);
$chart->options['legend']['width'] = 210;
$chart->options['legend']['width'] = 160;
$chart->options['legend']['position'] = 'right';
return $this->view('widgets.donut_chart', [