diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index d7cf3687e9..dc07ec6e22 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -741,6 +741,10 @@ function readFields() { values['label'] = $("input[name=label]").val(); var text = tinymce.get('text-label').getContent(); values['label'] = text; + + if ($("input[name=percentile_label]").val().length > 0) + values['label'] = $("input[name=percentile_label]").val(); + values['line-height'] = $("#text-label_ifr").contents().find("p").css('line-height'); values['type_graph'] = $("select[name=type_graph]").val(); values['image'] = $("select[name=image]").val(); diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index e6031f15e8..09fee29e70 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -1867,6 +1867,7 @@ function visual_map_print_item($mode = "read", $layoutData, } echo $img; + echo io_safe_output($text); break; case PERCENTILE_BUBBLE: @@ -1910,6 +1911,7 @@ function visual_map_print_item($mode = "read", $layoutData, } echo $img; + echo io_safe_output($text); break; case CIRCULAR_PROGRESS_BAR: @@ -1953,6 +1955,7 @@ function visual_map_print_item($mode = "read", $layoutData, } echo $img; + echo io_safe_output($text); break; case CIRCULAR_INTERIOR_PROGRESS_BAR: @@ -1997,6 +2000,7 @@ function visual_map_print_item($mode = "read", $layoutData, } echo $img; + echo io_safe_output($text); break; case MODULE_GRAPH: