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:
parent
b72d775e42
commit
794ab4ed7b
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue