diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 3a2923eb6c..4e356faf43 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -906,7 +906,8 @@ else{ } } - $only_image = !$graph_javascript || $isExternalLink; + $only_image = !$graph_javascript && $isExternalLink; + if ($layoutData['id_custom_graph'] != 0) { // Show only avg on the visual console if (get_parameter('action') == 'edit') { diff --git a/pandora_console/operation/visual_console/render_view.php b/pandora_console/operation/visual_console/render_view.php index 24855f5c76..55f0af0aad 100755 --- a/pandora_console/operation/visual_console/render_view.php +++ b/pandora_console/operation/visual_console/render_view.php @@ -149,7 +149,7 @@ if ($config['pure']) { // Container of the visual map (ajax loaded) echo '