diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index b6c46485f8..b53f0041ca 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -912,7 +912,9 @@ function grafico_modulo_sparse ($params) { else{ $return = graph_nodata_image( $params['width'], - $params['height'] + $params['height'], + 'area', + __('No data to display within the selected interval') ); } } @@ -4070,19 +4072,17 @@ function graphic_module_events ($id_module, $width, $height, $period = 0, $homeu } function graph_nodata_image($width = 300, $height = 110, $type = 'area', $text = '') { - $image = ui_get_full_url('images/image_problem_area_small.png', + $image = ui_get_full_url('images/image_problem_area.png', false, false, false); // if ($text == '') { // $text = __('No data to show'); // } + $text_div = '