2007-06-25 Sancho Lerena <slerena@artica.es>
First commit for Beta2 :-) * reporting/fgraph.php: Fixed problem with combined graph that makes long time graphs more smaller and slightly visible. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4e78ccd114
commit
6084c4dc95
|
@ -1,3 +1,10 @@
|
|||
2007-06-25 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
First commit for Beta2 :-)
|
||||
|
||||
* reporting/fgraph.php: Fixed problem with combined graph that
|
||||
makes long time graphs more smaller and slightly visible.
|
||||
|
||||
2007-06-25 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* include/sytles/pandora.css: Updated "error" and "success" messages
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
// Pandora FMS 1.x uses Pear Image::Graph code
|
||||
|
||||
//Pandora Version, if not defined here it would take from config.php
|
||||
$build_version="PC070622";
|
||||
$pandora_version="v1.3 Beta 1";
|
||||
$build_version="PC070623";
|
||||
$pandora_version="v1.3 Beta 2";
|
||||
global $build_version;
|
||||
global $pandora_version;
|
||||
|
||||
|
|
|
@ -280,7 +280,7 @@ function graphic_combined_module ($module_list, $weight_list, $periodo, $width,
|
|||
}
|
||||
|
||||
// ... and populated with data ...
|
||||
for ($cc=0; $cc <= $resolution; $cc++) {
|
||||
for ($cc=0; $cc < $resolution; $cc++) {
|
||||
$tdate = date('d/m', $valores[$cc][2])."\n".date('H:i', $valores[$cc][2]);
|
||||
for ($y = 0; $y < $module_number; $y++){
|
||||
$dataset[$y]->addPoint($tdate, $real_data[$y][$cc] * $weight_list[$y]);
|
||||
|
@ -324,7 +324,7 @@ function graphic_combined_module ($module_list, $weight_list, $periodo, $width,
|
|||
$AxisY->setTitle($unit_name, 'vertical');
|
||||
$AxisX->setLabelInterval($resolution / 10);
|
||||
//$AxisY->forceMinimum($minvalue);
|
||||
$AxisY->forceMaximum($max_value+($max_value/12)) ;
|
||||
//$AxisY->forceMaximum($max_value+($max_value/12)) ;
|
||||
$GridY2 =& $Plotarea->addNew('bar_grid', IMAGE_GRAPH_AXIS_Y_SECONDARY);
|
||||
$GridY2->setLineColor('gray');
|
||||
$GridY2->setFillColor('lightgray@0.05');
|
||||
|
|
Loading…
Reference in New Issue