Restored width in % and forced Agent SNMP view to enter if with widget=true

Former-commit-id: 25ca763789d5d30d298b6bf77bd5f0630aff526f
This commit is contained in:
Luis Calvo 2019-03-07 18:05:03 +01:00
parent 962e519bc9
commit 98ec2f31e6
2 changed files with 2 additions and 2 deletions

View File

@ -4531,7 +4531,7 @@ function reporting_get_event_histogram($events, $text_header_event=false)
[],
true,
$ttl,
false,
true,
false
);

View File

@ -748,7 +748,7 @@ function flot_slicesbar_graph(
if ($widgets) {
$return = "<div id='$graph_id' class='noresizevc graph $adapt_key' style='width: ".$width.'px; height: '.$height."px;'></div>";
} else {
$return = "<div id='$graph_id' class='noresizevc graph $adapt_key' style='width: ".$width.'px; height: '.$height."px;'></div>";
$return = "<div id='$graph_id' class='noresizevc graph $adapt_key' style='width: ".$width.'%; height: '.$height."px;'></div>";
}
}