View unanswered posts | View active topics It is currently Tue Apr 16, 2024 1:13 pm



Reply to topic  [ 2 posts ] 
Axis padding 
Author Message
pChart user
pChart user

Joined: Fri Jan 21, 2011 12:58 pm
Posts: 6
Post Axis padding
On the different axis the labels are a bit close together, especially around zero. If we could set padding around each label, like padding or margin in css?


Attachments:
chart.max.service.php.png
chart.max.service.php.png [ 20.91 KiB | Viewed 5492 times ]
Fri Feb 18, 2011 7:13 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Thu Dec 02, 2010 2:31 pm
Posts: 409
Location: France
Post Re: Axis padding
Hi,

You can try something like this :

Code:
$scaleSettings = array("XMargin"=>10,"YMargin"=>10,"Floating"=>TRUE,"GridR"=>200,"GridG"=>200,"GridB"=>200,"DrawSubTicks"=>TRUE,"CycleBackground"=>TRUE);
$myPicture->drawScale($scaleSettings);


Kind regards,
JD.


Wed Mar 23, 2011 12:03 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

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