diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index 6b1954f014..7e0ff10cec 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -691,7 +691,7 @@ function create_button_palette_callback() { alert('Undefined height'); validate = false; } - if ((values['label'] == '') && (values['image'] == '')) { + if ((values['label'] == '') && (values['image'] == '') && (values['show_statistics']) == false) { alert($("#message_alert_no_label_no_image").html()); validate = false; } diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 9205e29cab..b83abdfa2c 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -1213,7 +1213,7 @@ function visual_map_print_item($mode = "read", $layoutData, break; case STATIC_GRAPH: case GROUP_ITEM: - if ($layoutData['image'] != null) { + if ($layoutData['image'] != null || $layoutData['show_statistics'] == 1) { $img_style_title = strip_tags($label);