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

@@ -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;