diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0f6a2281c7..e12c6e1aa1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2014-01-13 Sergio Martin + + * include/graphs/functions_flot.php: fix unecessary space under the + area graphs when menu is not setted. If is setted, this space is + for the overview graph. Incident #499 + 2014-01-10 Miguel de Dios * include/functions_visual_map.php: fixed the show simple values in diff --git a/pandora_console/include/graphs/functions_flot.php b/pandora_console/include/graphs/functions_flot.php index e80dada5b2..545700813f 100644 --- a/pandora_console/include/graphs/functions_flot.php +++ b/pandora_console/include/graphs/functions_flot.php @@ -131,7 +131,13 @@ function flot_area_graph($chart_data, $width, $height, $color, $legend, $long_in $return .= "

"; $return .= ""; $return .= "
"; - $return .= ""; + if($menu) { + $height = 100; + } + else { + $height = 0; + } + $return .= ""; if ($water_mark != '') { $return .= "";