2010-12-22 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php, operation/reporting/reporting_xml.php: Draw baseline reports in the future by default. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
418d30135a
commit
c8d215b5ea
|
@ -1,3 +1,9 @@
|
|||
2010-12-22 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions_reporting.php,
|
||||
operation/reporting/reporting_xml.php: Draw baseline reports
|
||||
in the future by default.
|
||||
|
||||
2010-12-22 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* operation/agentes/exportdata.php: Fixed data average export.
|
||||
|
|
|
@ -1686,7 +1686,7 @@ function render_report_html_item ($content, $table, $report, $mini = false) {
|
|||
}
|
||||
|
||||
$data = array ();
|
||||
$data[0] = '<img src="include/fgraph.php?tipo=sparse&id='.$content['id_agent_module'].'&height='.$sizgraph_h.'&width='.$sizgraph_w.'&period='.$content['period'].'&date='.$report["datetime"].'&avg_only=1&baseline=1&pure=1" border="0" alt="">';
|
||||
$data[0] = '<img src="include/fgraph.php?tipo=sparse&id='.$content['id_agent_module'].'&height='.$sizgraph_h.'&width='.$sizgraph_w.'&period='.$content['period'].'&date='.($report["datetime"] + $content['period']).'&avg_only=1&baseline=1&pure=1" border="0" alt="">';
|
||||
array_push ($table->data, $data);
|
||||
|
||||
break;
|
||||
|
|
|
@ -182,7 +182,7 @@ foreach ($contents as $content) {
|
|||
break;
|
||||
case 'simple_baseline_graph':
|
||||
$data["title"] = __('Simple baseline graph');
|
||||
$data["objdata"]["img"] = 'include/fgraph.php?PHPSESSID='.$session_id.'&tipo=sparse&id='.$content['id_agent_module'].'&height=230&width=720&period='.$content['period'].'&date='.$datetime.'&avg_only=1&baseline=1&pure=1';
|
||||
$data["objdata"]["img"] = 'include/fgraph.php?PHPSESSID='.$session_id.'&tipo=sparse&id='.$content['id_agent_module'].'&height=230&width=720&period='.$content['period'].'&date='.($datetime + $content['period']).'&avg_only=1&baseline=1&pure=1';
|
||||
break;
|
||||
case 2:
|
||||
case 'custom_graph':
|
||||
|
|
Loading…
Reference in New Issue