From 2eec3dc76629f3af3b9fafc7e59a3b4b7d849f24 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Tue, 7 Nov 2017 11:43:42 +0100 Subject: [PATCH] Fix pdf graph labels 2 - #417 --- pandora_console/include/graphs/fgraph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/graphs/fgraph.php b/pandora_console/include/graphs/fgraph.php index 8d11a1e6df..95b12a5a42 100644 --- a/pandora_console/include/graphs/fgraph.php +++ b/pandora_console/include/graphs/fgraph.php @@ -175,7 +175,7 @@ function vbar_graph($flash_chart, $chart_data, $width, $height, if(strpos($key, ' - ') != -1){ $key_temp = explode(" - ",$key); $key_temp[0] = $key_temp[0]." \n"; - $key_temp[1]= '...'.substr($key_temp[1],-10); + $key_temp[1]= '...'.substr($key_temp[1],-15); $key2 = $key_temp[0].$key_temp[1]; io_safe_output($key2); }