View unanswered posts | View active topics It is currently Thu Mar 28, 2024 7:48 pm



Reply to topic  [ 1 post ] 
Chart configuration 
Author Message
Regular pChart user
Regular pChart user

Joined: Fri Jun 24, 2011 5:13 pm
Posts: 10
Post Re: Chart configuration
- Change values to white instead of black
Code:
$myPicture->drawLineChart(array("DisplayValues"=>TRUE,"DisplayColor"=>DISPLAY_MANUAL, "DisplayR"=>255,"DisplayG"=>255,"DisplayB"=>255));


- Rotate the months to 90 degrees ( I played with the "LabelRotation" parameter but couldn't make it work at all)
Code:
$myPicture->drawScale(array("DrawSubTicks"=>TRUE,"LabelRotation"=>90));


- Change the line color and make it thicker

Quote:
$serieSettings = array("R"=>255,"G"=>0,"B"=>0,"Alpha"=>80);
$MyData->setPalette("Serie 1",$serieSettings);
$MyData->setSerieWeight("Serie 1",2);


Thu Jan 05, 2012 10:46 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 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