2011-04-13 Miguel de Dios <miguel.dedios@artica.es>

* include/graphs/functions_pchart.php: added lost lines of source code to
	set bottom margin.
	
	* godmode/reporting/visual_console_builder.editor.js: changed to use new
	progress bar.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-04-13 10:50:30 +00:00
parent b72d775e42
commit 794ab4ed7b
3 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: added lost lines of source code to
set bottom margin.
* godmode/reporting/visual_console_builder.editor.js: changed to use new
progress bar.
2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_gd.php,

View File

@ -657,7 +657,7 @@ function getPercentileBar(id_data) {
else
var percentile = 100;
var img = 'include/fgraph.php?tipo=progress&height=15&width=' + width_percentile + '&mode=1&percent=' + percentile;
var img = 'include/graphs/fgraph.php?graph_type=progressbar&height=15&width=' + width_percentile + '&mode=1&progress=' + percentile;
return img;
}

View File

@ -511,11 +511,13 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height, $rgb_c
if (isset($size['Height'])) {
/* Define the chart area */
$myPicture->setGraphArea(40,$size['Height'],$width,$height - 90);
//$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 - 90);
$myPicture->setGraphArea(40, 5,$width,$height - $margin_bottom);
}
/* Draw the scale */