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

@@ -237,7 +237,7 @@ abstract class Report
->setColors(array_values($colors))
->setDataset($this->tables[$table_key], 'donut', array_values($values));
$chart->options['legend']['width'] = 150;
$chart->options['legend']['width'] = 105;
$chart->options['legend']['position'] = 'right';
return $chart;