pChart 2.x forum http://wiki.pchart.net/forum/ |
|
Staked area char Y margin http://wiki.pchart.net/forum/viewtopic.php?f=3&t=2243 |
Page 1 of 1 |
Author: | ddole [ Mon Nov 14, 2011 2:23 am ] |
Post subject: | 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? |
Author: | Wilwarin [ Sat Nov 19, 2011 9:37 pm ] |
Post subject: | 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); |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |