pChart 2.x forum http://wiki.pchart.net/forum/ |
|
Value area http://wiki.pchart.net/forum/viewtopic.php?f=1&t=39852 |
Page 1 of 1 |
Author: | Enigma [ Wed Aug 21, 2013 9:21 am ] | ||
Post subject: | Value area | ||
Hello! I'm creating a graphic of probability. My problem is following. Probability can take on a value from 0 till 1. But value area is set automatically. So it includes negative values. I'd like to remove negative values from Y axis, but I can't find the way. I would be grateful for any help. Thanks.
|
Author: | kirchner20 [ Mon Aug 26, 2013 11:50 am ] |
Post subject: | Re: Value area |
Try setting the scale value, for eg: Code: $AxisBoundaries = array(0=>array("Min"=>0,"Max"=>100)); $ScaleSettings = array("Mode"=>SCALE_MODE_MANUAL,"ManualScale"=>$AxisBoundaries,"DrawSubTicks"=>TRUE,"DrawArrows"=>TRUE,"ArrowSize"=>6); $myPicture->drawScale($ScaleSettings); You can also have a look at: http://wiki.pchart.net/doc.doc.draw.scale.html |
Author: | Enigma [ Tue Aug 27, 2013 9:30 am ] |
Post subject: | Re: Value area |
kirchner20, thank you very much! With your help I managed to restrict the range of values on the graph. |
Author: | kirchner20 [ Thu Aug 29, 2013 9:41 am ] |
Post subject: | Re: Value area |
No Problem. Youre welcome |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |