Fixed problem with percentile bar label. Ticket

This commit is contained in:
Arturo Gonzalez Diaz 2015-08-26 13:08:54 +02:00
parent 6507d09792
commit 93ed16b6be

@ -100,8 +100,13 @@ function visual_map_print_item($mode = "read", $layoutData,
$top = $layoutData['pos_y'];
$left = $layoutData['pos_x'];
$id = $layoutData['id'];
//$label = io_safe_output($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'];