diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f856d2dd1a..eecad0de59 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-04-13 Sergio Martin + + * include/graphs/functions_pchart.php: Forgotted + restoring miguel modifications in the last commit + 2011-04-13 Sergio Martin * include/graphs/functions_pchart.php diff --git a/pandora_console/include/graphs/functions_pchart.php b/pandora_console/include/graphs/functions_pchart.php index 5f72afbbf2..c588982714 100755 --- a/pandora_console/include/graphs/functions_pchart.php +++ b/pandora_console/include/graphs/functions_pchart.php @@ -589,15 +589,14 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height, $rgb_c } } $margin_bottom = 10 * $max_chars; - //$margin_bottom = 90; if (isset($size['Height'])) { /* Define the chart area */ - $myPicture->setGraphArea(40,$size['Height'],$width,$height - 90); + $myPicture->setGraphArea(40,$size['Height'],$width,$height - $margin_bottom); } else { /* Define the chart area */ - $myPicture->setGraphArea(40, 5,$width,$height - 90); + $myPicture->setGraphArea(40, 5,$width,$height - $margin_bottom); } /* Draw the scale */