From 256d437b6bbe779f378a53844c3f667923bed2a3 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Diaz Date: Wed, 26 Aug 2015 13:13:06 +0200 Subject: [PATCH] Fixed problem with percentile bar label. Ticket #2635 --- pandora_console/include/functions_visual_map.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 29cfac3be8..da732cc26a 100644 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -59,8 +59,13 @@ function visual_map_print_item($layoutData) { $left = $layoutData['pos_x']; $id = $layoutData['id']; $color = $layoutData['label_color']; - //$label = $layoutData['label']; - $label = ''; + //If it is simple value, label must be empty because if not, module value set the plane text '(_VALUE_)' + if ($layoutData['type'] == SIMPLE_VALUE){ + $label = ''; + } + else{ + $label = io_safe_output($layoutData['label']); + } $id_module = $layoutData['id_agente_modulo']; $type = $layoutData['type']; $period = $layoutData['period'];