Fixed problem with percentile bar label. Ticket #2635

This commit is contained in:
Arturo Gonzalez Diaz 2015-08-26 13:13:06 +02:00
parent 660135e98a
commit 256d437b6b
1 changed files with 7 additions and 2 deletions

View File

@ -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'];