long text controlled for donut chart

This commit is contained in:
Burak Civan
2022-06-09 15:02:44 +03:00
parent 9a61f841db
commit b0788c31b5
2 changed files with 2 additions and 2 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'] = 220;
$chart->options['legend']['width'] = 210;
$chart->options['legend']['position'] = 'right';
return $this->view('widgets.donut_chart', [