Do not use height and width in bar charts, to avoid layout errors
This commit is contained in:
parent
0eaaaf2f29
commit
cb27a3d0f1
|
@ -24,13 +24,9 @@ title = "Landing page"
|
|||
|
||||
[Landing.Hostgroups]
|
||||
url = "monitoring/chart/hostgroup"
|
||||
height = 540
|
||||
width = 540
|
||||
|
||||
[Landing.Servicegroups]
|
||||
url = "monitoring/chart/servicegroup"
|
||||
height = 540
|
||||
width = 540
|
||||
|
||||
[Landing.Unhandled Problem Services]
|
||||
url = "monitoring/list/services"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div style="max-width:<?= $this->width; ?>px;max-height:<?= $this->height; ?>px;margin:auto;">
|
||||
<div style="max-height:548px; margin:auto;">
|
||||
<?=
|
||||
$chart->render();
|
||||
?>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div style="max-width:<?= $this->width; ?>px;max-height:<?= $this->height; ?>px;margin:auto;">
|
||||
<div style="max-height:548px; margin:auto;">
|
||||
<?=
|
||||
$chart->render();
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue