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>
|
2007-06-25 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* include/sytles/pandora.css: Updated "error" and "success" messages
|
* include/sytles/pandora.css: Updated "error" and "success" messages
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
// Pandora FMS 1.x uses Pear Image::Graph code
|
// Pandora FMS 1.x uses Pear Image::Graph code
|
||||||
|
|
||||||
//Pandora Version, if not defined here it would take from config.php
|
//Pandora Version, if not defined here it would take from config.php
|
||||||
$build_version="PC070622";
|
$build_version="PC070623";
|
||||||
$pandora_version="v1.3 Beta 1";
|
$pandora_version="v1.3 Beta 2";
|
||||||
global $build_version;
|
global $build_version;
|
||||||
global $pandora_version;
|
global $pandora_version;
|
||||||
|
|
||||||
|
|
|
@ -280,7 +280,7 @@ function graphic_combined_module ($module_list, $weight_list, $periodo, $width,
|
||||||
}
|
}
|
||||||
|
|
||||||
// ... and populated with data ...
|
// ... 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]);
|
$tdate = date('d/m', $valores[$cc][2])."\n".date('H:i', $valores[$cc][2]);
|
||||||
for ($y = 0; $y < $module_number; $y++){
|
for ($y = 0; $y < $module_number; $y++){
|
||||||
$dataset[$y]->addPoint($tdate, $real_data[$y][$cc] * $weight_list[$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');
|
$AxisY->setTitle($unit_name, 'vertical');
|
||||||
$AxisX->setLabelInterval($resolution / 10);
|
$AxisX->setLabelInterval($resolution / 10);
|
||||||
//$AxisY->forceMinimum($minvalue);
|
//$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 =& $Plotarea->addNew('bar_grid', IMAGE_GRAPH_AXIS_Y_SECONDARY);
|
||||||
$GridY2->setLineColor('gray');
|
$GridY2->setLineColor('gray');
|
||||||
$GridY2->setFillColor('lightgray@0.05');
|
$GridY2->setFillColor('lightgray@0.05');
|
||||||
|
|
Loading…
Reference in New Issue