Ignore:
Timestamp:
02/03/09 17:33:11 (16 years ago)
Author:
aparavac
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/plot.php

    r9249 r9295  
    4141
    4242//set up plot
    43 $c= new XYChart(640,400);//, 0xeeeeee, 0x000000, 1);
     43if (empty($_GET["x"]))
     44    $x=640;
     45else
     46    $x=$_GET["x"];
     47if (empty($_GET["y"]))
     48    $y=400;
     49else
     50    $y=$_GET["y"];
     51
     52$c= new XYChart($x,$y);//, 0xeeeeee, 0x000000, 1);
     53$c->setPlotArea(70, 45, $x-100, $y-100, 0xffffff, -1, 0xcccccc, 0xccccccc);
     54//$c= new XYChart(440,250);//, 0xeeeeee, 0x000000, 1);
     55//$c->setPlotArea(70, 45, 340, 150, 0xffffff, -1, 0xcccccc, 0xccccccc);
    4456//$c->setRoundedFrame();
    45 $c->setPlotArea(70, 45, 540, 300, 0xffffff, -1, 0xcccccc, 0xccccccc);
    4657
    4758//size of the symbols
Note: See TracChangeset for help on using the changeset viewer.