long text controlled for donut chart
This commit is contained in:
parent
9a61f841db
commit
b0788c31b5
@ -237,7 +237,7 @@ abstract class Report
|
||||
->setColors(array_values($colors))
|
||||
->setDataset($this->tables[$table_key], 'donut', array_values($values));
|
||||
|
||||
$chart->options['legend']['width'] = 160;
|
||||
$chart->options['legend']['width'] = 150;
|
||||
$chart->options['legend']['position'] = 'right';
|
||||
|
||||
return $chart;
|
||||
|
@ -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', [
|
||||
|
Loading…
x
Reference in New Issue
Block a user