Index: trunk/MagicSoft/Mars/datacenter/db/plot.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/plot.php	(revision 9249)
+++ trunk/MagicSoft/Mars/datacenter/db/plot.php	(revision 9295)
@@ -41,7 +41,18 @@
 
 //set up plot
-$c= new XYChart(640,400);//, 0xeeeeee, 0x000000, 1);
+if (empty($_GET["x"]))
+    $x=640;
+else
+    $x=$_GET["x"];
+if (empty($_GET["y"]))
+    $y=400;
+else
+    $y=$_GET["y"];
+
+$c= new XYChart($x,$y);//, 0xeeeeee, 0x000000, 1);
+$c->setPlotArea(70, 45, $x-100, $y-100, 0xffffff, -1, 0xcccccc, 0xccccccc);
+//$c= new XYChart(440,250);//, 0xeeeeee, 0x000000, 1);
+//$c->setPlotArea(70, 45, 340, 150, 0xffffff, -1, 0xcccccc, 0xccccccc);
 //$c->setRoundedFrame();
-$c->setPlotArea(70, 45, 540, 300, 0xffffff, -1, 0xcccccc, 0xccccccc);
 
 //size of the symbols
