Visual improvements on the graphs of the function "reporting_network_interfaces_table"
This commit is contained in:
parent
c2925695bf
commit
004a9ff7b4
|
@ -7587,13 +7587,15 @@ function reporting_network_interfaces_table ($content, $report, $mini, $item_tit
|
|||
|
||||
$ttl = $is_pdf ? 2 : 1;
|
||||
|
||||
$graph_width = 600;
|
||||
$graph_height = 200;
|
||||
$graph_width = 900;
|
||||
$graph_height = 300;
|
||||
|
||||
$datetime = $report['datetime'];
|
||||
$period = $content['period'];
|
||||
|
||||
if ($is_pdf) {
|
||||
$graph_width = 800;
|
||||
$graph_height = 200;
|
||||
pdf_header_content($pdf, $content, $report, $item_title, false, $content["description"]);
|
||||
}
|
||||
else if ($is_html) {
|
||||
|
@ -7614,7 +7616,11 @@ function reporting_network_interfaces_table ($content, $report, $mini, $item_tit
|
|||
}
|
||||
}
|
||||
|
||||
$network_interfaces_by_agents = agents_get_network_interfaces(false, array('id_grupo' => $content['id_group']));
|
||||
$filter = array(
|
||||
'id_grupo' => $content['id_group'],
|
||||
'disabled' => 0
|
||||
);
|
||||
$network_interfaces_by_agents = agents_get_network_interfaces(false, $filter);
|
||||
|
||||
if (empty($network_interfaces_by_agents)) {
|
||||
$data = array();
|
||||
|
|
Loading…
Reference in New Issue