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:
parent
40c1fe60f7
commit
451bcdc5fc
|
@ -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>
|
2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/reporting/reporting_builder.preview.php: added file to show the
|
* godmode/reporting/reporting_builder.preview.php: added file to show the
|
||||||
|
|
|
@ -1453,11 +1453,13 @@ function render_report_html_item ($content, $table, $report, $mini = false) {
|
||||||
$sizh = 'h6';
|
$sizh = 'h6';
|
||||||
$sizem = '1.5';
|
$sizem = '1.5';
|
||||||
$sizgraph_w = '350';
|
$sizgraph_w = '350';
|
||||||
|
$sizgraph_h = '100';
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$sizh = 'h4';
|
$sizh = 'h4';
|
||||||
$sizem = '3';
|
$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 = 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);
|
array_push ($table->data, $data);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -1524,7 +1526,7 @@ function render_report_html_item ($content, $table, $report, $mini = false) {
|
||||||
|
|
||||||
$table->colspan[2][0] = 3;
|
$table->colspan[2][0] = 3;
|
||||||
$data = array ();
|
$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);
|
array_push ($table->data, $data);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue