diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-10-31 21:20:43 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-10-31 21:20:43 +0000 |
| commit | a5739a5114f79cb4c4c6770168f12687661680d7 (patch) | |
| tree | 792f6753d0fff66d68129b4607fde934cf8b0d52 /frontends/php/chart_diff.php | |
| parent | 79141fb64177d0570cac795215f736222f49665f (diff) | |
| download | zabbix-a5739a5114f79cb4c4c6770168f12687661680d7.tar.gz zabbix-a5739a5114f79cb4c4c6770168f12687661680d7.tar.xz zabbix-a5739a5114f79cb4c4c6770168f12687661680d7.zip | |
- automatic resize of all graphs depending on screen size (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@552 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart_diff.php')
| -rw-r--r-- | frontends/php/chart_diff.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/frontends/php/chart_diff.php b/frontends/php/chart_diff.php index a95bb904..6199e8a3 100644 --- a/frontends/php/chart_diff.php +++ b/frontends/php/chart_diff.php @@ -25,7 +25,15 @@ $from=$HTTP_GET_VARS["from"]; } - $sizeX=900; + if(isset($HTTP_GET_VARS["width"])) + { + $sizeX=$HTTP_GET_VARS["width"]; + } + else + { + $sizeX=200; + } + $sizeY=200; $shiftX=10; |
