Fixed width unit on graph, setted to px instead of %

Former-commit-id: 2517a1bfad9c609709f30025c2d6927c0011ade1
This commit is contained in:
Luis Calvo 2019-03-01 14:58:41 +01:00
parent a5c3136321
commit d4b79179d9
1 changed files with 1 additions and 1 deletions

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.'%; height: '.$height."px;'></div>";
$return = "<div id='$graph_id' class='noresizevc graph $adapt_key' style='width: ".$width.'px; height: '.$height."px;'></div>";
}
}