diff options
Diffstat (limited to 'frontends/php/chart.php')
| -rw-r--r-- | frontends/php/chart.php | 11 |
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); |
