2011-04-13 Sergio Martin <sergio.martin@artica.es>

* include/graphs/functions_pchart.php: Forgotted 
	restoring miguel modifications in the last commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-04-13 14:45:40 +00:00
parent 2d6b8e5b5f
commit a5108dc3b2
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Forgotted
restoring miguel modifications in the last commit
2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php

View File

@ -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 */