2010-05-04 Sergio Martin <sergio.martin@artica.es>

* include/functions_reporting.php: Added the 
	high variation for the graphs when the
	parameter $mini is true



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-05-04 11:00:57 +00:00
parent 40c1fe60f7
commit 451bcdc5fc
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2010-05-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Added the
high variation for the graphs when the
parameter $mini is true
2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: added file to show the

View File

@ -1453,11 +1453,13 @@ function render_report_html_item ($content, $table, $report, $mini = false) {
$sizh = 'h6';
$sizem = '1.5';
$sizgraph_w = '350';
$sizgraph_h = '100';
}
else{
$sizh = 'h4';
$sizem = '3';
$sizgraph_w = '350';
$sizgraph_w = '750';
$sizgraph_h = '230';
}
@ -1484,7 +1486,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=230&width='.$sizgraph_w.'&period='.$content['period'].'&date='.$report["datetime"].'&avg_only=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"].'&avg_only=1&pure=1" border="0" alt="">';
array_push ($table->data, $data);
break;
@ -1524,7 +1526,7 @@ function render_report_html_item ($content, $table, $report, $mini = false) {
$table->colspan[2][0] = 3;
$data = array ();
$data[0] = '<img src="include/fgraph.php?tipo=combined&id='.implode (',', $modules).'&weight_l='.implode (',', $weights).'&height=235&width='.$sizgraph_w.'&period='.$content['period'].'&date='.$report["datetime"].'&stacked='.$graph["stacked"].'&pure=1" border="1" alt="">';
$data[0] = '<img src="include/fgraph.php?tipo=combined&id='.implode (',', $modules).'&weight_l='.implode (',', $weights).'&height='.$sizgraph_h.'&width='.$sizgraph_w.'&period='.$content['period'].'&date='.$report["datetime"].'&stacked='.$graph["stacked"].'&pure=1" border="1" alt="">';
array_push ($table->data, $data);
break;