2014-07-18 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_graph.php, include/functions_reporting.php:
	fixed to show the unknown graph in simple graph.
	
	INCIDENT: #1035




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-07-18 09:45:20 +00:00
parent 509b8a8c1b
commit f078174609
3 changed files with 36 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2014-07-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php:
fixed to show the unknown graph in simple graph.
INCIDENT: #1035
2014-07-17 Miguel de Dios <miguel.dedios@artica.es>
* include/auth/ldap.php, include/auth/mysql.php: fixed the

View File

@ -109,6 +109,7 @@ function get_statwin_graph_statistics ($chart_array, $series_suffix = '') {
//Get stats for normal graph
if (isset($item['sum']) && $item['sum']) {
//Sum all values later divide by the number of elements
$stats['sum']['avg'] = $stats['sum']['avg'] + $item['sum'];

View File

@ -3123,9 +3123,29 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
}
else {
$data[0] = grafico_modulo_sparse($content['id_agent_module'], $content['period'],
false, $sizgraph_w, $sizgraph_h, '', '', false, true, true,
$report["datetime"], '', 0, 0, true, true, ui_get_full_url(false) . '/');
$data[0] = grafico_modulo_sparse(
$content['id_agent_module'],
$content['period'],
false,
$sizgraph_w,
$sizgraph_h,
'',
'',
false,
true,
true,
$report["datetime"],
'',
0,
0,
true,
true,
ui_get_full_url(false) . '/',
1,
false,
'',
false,
true);
}
array_push ($table->data, $data);