Fixed the size of radial dynamic networkmap in the dashboard.

This commit is contained in:
mdtrooper 2016-05-03 15:06:33 +02:00
parent c3ab1371e1
commit 63306e0288
1 changed files with 11 additions and 1 deletions

View File

@ -57,6 +57,16 @@ require_once ('include/functions_networkmap.php');
$strict_user = db_get_value('strict_acl', 'tusuario', 'id_user', $config['id_user']); $strict_user = db_get_value('strict_acl', 'tusuario', 'id_user', $config['id_user']);
global $width;
global $height;
if (empty($width)) {
$width = 600;
}
if (empty($height)) {
$width = 650;
}
if ($activeTab == "radial_dynamic") { if ($activeTab == "radial_dynamic") {
include_once("include/functions_graph.php"); include_once("include/functions_graph.php");
@ -70,7 +80,7 @@ if ($activeTab == "radial_dynamic") {
if (!empty($module_group)) if (!empty($module_group))
$filter['module_group'] = $module_group; $filter['module_group'] = $module_group;
echo graph_monitor_wheel(600, 650, $filter, $strict_user); echo graph_monitor_wheel($width, $height, $filter, $strict_user);
echo "</div>"; echo "</div>";
return; return;