View unanswered posts | View active topics It is currently Thu May 09, 2024 11:44 pm



Reply to topic  [ 1 post ] 
Put down abscissa & ordinate axis 
Author Message
New pChart user
New pChart user

Joined: Wed Apr 27, 2011 9:26 am
Posts: 2
Post Put down abscissa & ordinate axis
I've a reduce code like that :

Code:
$MyData = new pData(); 
$MyData->addPoints(array(9),"Mister X");
$MyData->addPoints(array(3),"Mister Y");
$MyData->addPoints(array(2),"Mister Z");
$MyData->addPoints(array(11),"Mister W");

$MyData->normalize(100,"%");

$myPicture = new pImage(1400,460,$MyData);

$myPicture->setFontProperties(array("FontName"=>"fonts/pf_arma_five.ttf","FontSize"=>6));

$myPicture->setGraphArea(1360,380);
$myPicture->drawScale(array("DrawSubTicks"=>TRUE,"Mode"=>SCALE_MODE_ADDALL));
$myPicture->drawStackedBarChart(array("DisplayValues"=>TRUE,"DisplayColor"=>DISPLAY_AUTO,"Rounded"=>TRUE,"Surrounding"=>60));

$myPicture->drawLegend(240,155,array("Style"=>LEGEND_NOBORDER,"Mode"=>LEGEND_HORIZONTAL));

$myPicture->Render("normalize.png");


But I want not to display abscissa & ordinate axis.. How I do please ?!


Wed Apr 27, 2011 1:26 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron