Merge branch 'ent-3677-SLA-Graphics-not-viewing-properly' into 'develop'

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

See merge request artica/pandorafms!2247

Former-commit-id: 8c579cdb697ff55426bee8c6f3d1a94fda99c7fb
This commit is contained in:
Daniel Rodriguez 2019-03-08 10:53:43 +01:00
commit 82a239240c
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>";
}
}