View unanswered posts | View active topics It is currently Sat Apr 20, 2024 2:09 pm



Reply to topic  [ 2 posts ] 
Staked area char Y margin 
Author Message
pChart user
pChart user

Joined: Sat Oct 22, 2011 1:41 am
Posts: 4
Post Staked area char Y margin
Hi there,

I was playing around with the drawStakedAround method, but unfortunately I can't set the scale from 0 to 100. The scale that I get is -20% to 120%, which is not really what I need. Do you have any idea about how can I fix that?

Image


Mon Nov 14, 2011 2:23 am
Profile
pChart Guru
pChart Guru

Joined: Sun Jun 19, 2011 6:36 pm
Posts: 52
Post Re: Staked area char Y margin
Code:
$AxisBoundaries = array(0=>array("Min"=>0,"Max"=>100));
$ScaleSettings  = array("Mode"=>SCALE_MODE_MANUAL,"ManualScale"=>$AxisBoundaries);
$myPicture->drawScale($ScaleSettings);

_________________
Hope I helped :)
Image
If I helped, say thanks, so that I can see that my work isn't useless.


Sat Nov 19, 2011 9:37 pm
Profile
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