summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart_diff.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/chart_diff.php')
-rw-r--r--frontends/php/chart_diff.php10
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;