Do not use height and width in bar charts, to avoid layout errors

This commit is contained in:
Matthias Jentsch 2014-07-22 17:57:40 +02:00
parent 0eaaaf2f29
commit cb27a3d0f1
3 changed files with 2 additions and 6 deletions

View File

@ -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"

View File

@ -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();
?>

View File

@ -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();
?>