long text controlled for donut chart
This commit is contained in:
parent
c07c6fbf50
commit
04c70d6faf
@ -27,6 +27,9 @@ class ExpensesByCategory extends Widget
|
||||
|
||||
$chart = $this->getDonutChart(trans_choice('general.expenses', 2), '100%', 300, 6);
|
||||
|
||||
$chart->options['legend']['width'] = 200;
|
||||
$chart->options['legend']['position'] = 'right';
|
||||
|
||||
return $this->view('widgets.donut_chart', [
|
||||
'chart' => $chart,
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user