summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-07-25 06:01:57 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-07-25 06:01:57 +0000
commit5ce1eb58ee50f4d4b0c477ae40ecc6b48791d2e8 (patch)
tree13e2b4b173d044fe05465086c9422e726d8ab92f /frontends/php/chart.php
parent65224f91f1f71119751e7b54d40d95c1f3b433ea (diff)
downloadzabbix-5ce1eb58ee50f4d4b0c477ae40ecc6b48791d2e8.tar.gz
zabbix-5ce1eb58ee50f4d4b0c477ae40ecc6b48791d2e8.tar.xz
zabbix-5ce1eb58ee50f4d4b0c477ae40ecc6b48791d2e8.zip
Fixes for screenedit.php (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@863 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart.php')
-rw-r--r--frontends/php/chart.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/frontends/php/chart.php b/frontends/php/chart.php
index 3b569e71..a9cf1467 100644
--- a/frontends/php/chart.php
+++ b/frontends/php/chart.php
@@ -71,7 +71,12 @@
function setWidth($width)
{
- $this->width=$width;
+ $this->sizeX=$width;
+ }
+
+ function setHeight($height)
+ {
+ $this->sizeY=$height;
}
function setBorder($border)
@@ -618,6 +623,10 @@
{
$graph->setWidth($HTTP_GET_VARS["width"]);
}
+ if(isset($HTTP_GET_VARS["height"]))
+ {
+ $graph->setHeight($HTTP_GET_VARS["height"]);
+ }
if(isset($HTTP_GET_VARS["border"]))
{
$graph->setBorder(0);