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:
parent
2d6b8e5b5f
commit
a5108dc3b2
|
@ -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>
|
2011-04-13 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/graphs/functions_pchart.php
|
* 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 = 10 * $max_chars;
|
||||||
//$margin_bottom = 90;
|
|
||||||
|
|
||||||
if (isset($size['Height'])) {
|
if (isset($size['Height'])) {
|
||||||
/* Define the chart area */
|
/* Define the chart area */
|
||||||
$myPicture->setGraphArea(40,$size['Height'],$width,$height - 90);
|
$myPicture->setGraphArea(40,$size['Height'],$width,$height - $margin_bottom);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* Define the chart area */
|
/* Define the chart area */
|
||||||
$myPicture->setGraphArea(40, 5,$width,$height - 90);
|
$myPicture->setGraphArea(40, 5,$width,$height - $margin_bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Draw the scale */
|
/* Draw the scale */
|
||||||
|
|
Loading…
Reference in New Issue