mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Fixed a bug that wouldn't render specific stats from data overview git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
09c5c10462
commit
7b54b0af61
@ -1,3 +1,8 @@
|
|||||||
|
2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
|
||||||
|
|
||||||
|
* reporting/fgraph.php: Fixed a bug that wouldn't render specific
|
||||||
|
stats from data overview
|
||||||
|
|
||||||
2008-10-14 Sancho Lerena <slerena@artica.es>
|
2008-10-14 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* include/config_process.php, index.php: Updated version.
|
* include/config_process.php, index.php: Updated version.
|
||||||
|
@ -397,11 +397,12 @@ function graphic_combined_module ($module_list, $weight_list, $periodo, $width,
|
|||||||
|
|
||||||
function grafico_modulo_sparse ($id_agente_modulo, $periodo, $show_event,
|
function grafico_modulo_sparse ($id_agente_modulo, $periodo, $show_event,
|
||||||
$width, $height , $title, $unit_name, $show_alert, $avg_only = 0, $pure = 0, $date = 0) {
|
$width, $height , $title, $unit_name, $show_alert, $avg_only = 0, $pure = 0, $date = 0) {
|
||||||
include ("../include/config.php");
|
global $config;
|
||||||
require_once 'Image/Graph.php';
|
require_once 'Image/Graph.php';
|
||||||
|
|
||||||
if (! $date)
|
if (empty ($date))
|
||||||
$date = time ();
|
$date = time ();
|
||||||
|
|
||||||
$resolution = $config["graph_res"] * 50; // Number of "slices" we want in graph
|
$resolution = $config["graph_res"] * 50; // Number of "slices" we want in graph
|
||||||
$fechatope = $date - $periodo;
|
$fechatope = $date - $periodo;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user