Changeset 8466 for trunk/MagicSoft/Mars/datacenter/db/plot.php
- Timestamp:
- 04/28/07 18:22:16 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/plot.php
r8161 r8466 55 55 $labelfont="arialdb.ttf"; 56 56 $labelsize=10; 57 //colours 58 $colour=0x000000; 59 $setcolour=0x0080ff; 60 $set2colour=0xff0000; 61 57 62 if ($_GET["plot"]=="val") 58 63 { 59 64 $column2=$_GET[$primary."Col2"]; 60 $c->addScatterLayer($val2, $val1, $column, CircleSymbol, $small, 0x000000, 0x000000);65 $c->addScatterLayer($val2, $val1, $column, CircleSymbol, $small, $colour, $colour); 61 66 if (!empty($_GET["Set"])) 62 $c->addScatterLayer($Setval2, $Setval1, $column, CircleSymbol, $large, 0x0080ff, 0x0080ff);67 $c->addScatterLayer($Setval2, $Setval1, $column, CircleSymbol, $large, $setcolour, $setcolour); 63 68 if (!empty($_GET["Set2"])) 64 $c->addScatterLayer($Set2val2, $Set2val1, $column, CircleSymbol, $large, 0xff0000, 0xff0000);69 $c->addScatterLayer($Set2val2, $Set2val1, $column, CircleSymbol, $large, $set2colour, $set2colour); 65 70 $c->yAxis->setTitle($column, $axisfont, $axissize); 66 71 $c->xAxis->setTitle($column2, $axisfont, $axissize); … … 69 74 else 70 75 { 71 $c->addScatterLayer($prim, $val1, $column, CircleSymbol, $small, 0x000000, 0x000000);76 $c->addScatterLayer($prim, $val1, $column, CircleSymbol, $small, $colour, $colour); 72 77 if (!empty($_GET["Set"])) 73 $c->addScatterLayer($Setprim, $Setval1, $column, CircleSymbol, $large, 0x0080ff, 0x0080ff);78 $c->addScatterLayer($Setprim, $Setval1, $column, CircleSymbol, $large, $setcolour, $setcolour); 74 79 if (!empty($_GET["Set2"])) 75 $c->addScatterLayer($Set2prim, $Set2val1, $column, CircleSymbol, $large, 0xff0000, 0xff0000);80 $c->addScatterLayer($Set2prim, $Set2val1, $column, CircleSymbol, $large, $set2colour, $set2colour); 76 81 $c->yAxis->setTitle($column, $axisfont, $axissize); 77 82 $c->xAxis->setTitle($primary, $axisfont, $axissize);
Note:
See TracChangeset
for help on using the changeset viewer.