From d38df88c79656117162e131628a0b7b1b73821ea Mon Sep 17 00:00:00 2001 From: fermin831 Date: Tue, 13 Mar 2018 19:07:31 +0100 Subject: [PATCH] [Pie charts] Adding more space in legend --- pandora_console/include/graphs/functions_pchart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/graphs/functions_pchart.php b/pandora_console/include/graphs/functions_pchart.php index fcbd67f00a..0114d36e32 100644 --- a/pandora_console/include/graphs/functions_pchart.php +++ b/pandora_console/include/graphs/functions_pchart.php @@ -522,7 +522,7 @@ function pch_pie_graph ($graph_type, $data_values, $legend_values, $width, if ($legend_position != 'hidden') { // This is a hardcore adjustment to match most of the graphs, please don't alter - $legend_with_aprox = 32 + (4.5 * $max_chars); + $legend_with_aprox = 32 + (9.5 * $max_chars); $PieChart->drawPieLegend($width - $legend_with_aprox, 5, array("R"=>255,"G"=>255,"B"=>255, "BoxSize"=>10)); }