From d914343f60f3b673b0b06dbd26f3bbc710d58f96 Mon Sep 17 00:00:00 2001 From: Refik Hadzialic Date: Wed, 7 Sep 2011 21:08:30 +0200 Subject: Changed some cases! --- notFinishedCode/web/example.drawFilledCircle.php | 6 +++--- notFinishedCode/web/testCase.php | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/notFinishedCode/web/example.drawFilledCircle.php b/notFinishedCode/web/example.drawFilledCircle.php index e8e09a0..ccaa06f 100644 --- a/notFinishedCode/web/example.drawFilledCircle.php +++ b/notFinishedCode/web/example.drawFilledCircle.php @@ -192,17 +192,17 @@ /* Turn on shadow computing */ $myPicture->setShadow(TRUE,array("X"=>1,"Y"=>1,"R"=>0,"G"=>0,"B"=>0,"Alpha"=>20)); /* Draw a PNG object */ - $myPicture->drawFromPNG(393,150,$LANDLINECOL); + $myPicture->drawFromPNG(393,147,$LANDLINECOL); /* Write some text */ $myPicture->setFontProperties(array("FontName"=>"fonts/verdana.ttf","FontSize"=>7)); $TextSettings = array("DrawBox"=>TRUE,"BoxRounded"=>TRUE,"R"=>0,"G"=>0,"B"=>0,"Angle"=>0,"FontSize"=>7); - $myPicture->drawText(238,157,"GSM-Box",$TextSettings); + $myPicture->drawText(393,137,"Landline",$TextSettings); //############################### //A BIT OF STATISTICS /* Draw the chart scale */ - $myPicture->setGraphArea(520,50,690,220); + $myPicture->setGraphArea(520,50,685,220); $AxisBoundaries = array(0=>array("Min"=>0,"Max"=>100)); $myPicture->drawScale(array("CycleBackground"=>TRUE,"DrawSubTicks"=>TRUE,"GridR"=>0,"GridG"=>0,"GridB"=>0,"GridAlpha"=>10,"Pos"=>SCALE_POS_TOPBOTTOM,"Mode"=>SCALE_MODE_MANUAL,"ManualScale"=>$AxisBoundaries)); diff --git a/notFinishedCode/web/testCase.php b/notFinishedCode/web/testCase.php index 8f75796..288d065 100644 --- a/notFinishedCode/web/testCase.php +++ b/notFinishedCode/web/testCase.php @@ -13,10 +13,10 @@ $SIP = 0; $UNISIP = 0; $LANDLINE = 0; -$GSMEE = 0; -$GSMEV = 0; -$GSMET = 0; -$GSMEO = 0; +$GSMEE = 10; +$GSMEV = 10; +$GSMET = 10; +$GSMEO = 10; $GSMEXTCOL = 'icons/box_dunno.png'; $GSMINTCOL = "icons/server_dunno.png"; -- cgit v1.2.3-55-g7522