pChart 2.x forum http://wiki.pchart.net/forum/ |
|
Using an axis boundaries array and Manual Scale http://wiki.pchart.net/forum/viewtopic.php?f=3&t=1589 |
Page 1 of 1 |
Author: | mtbartlett [ Fri Jun 24, 2011 3:49 pm ] | ||
Post subject: | Using an axis boundaries array and Manual Scale | ||
Hello, I have a graph that the values are getting messed up when it is over 1 million, so the SCALE_CODE_ADDALL_START0 is not working for me. How do i set what value the ticks are going to be set at? $AxisBoundaries = array(0=>array("Min"=>0,"Max"=>1600)); $ScaleSettings = array("Mode"=>SCALE_MODE_MANUAL,"DrawSubTicks"=>TRUE,"DrawArrows"=>TRUE,"ArrowSize"=>6,"ManualScale"=>$AxisBoundaries); $myPicture->drawScale($ScaleSettings); this is the graph im getting. All works except the one value that is over 1 million. Thanks Mike
|
Author: | mtbartlett [ Fri Jun 24, 2011 4:03 pm ] | ||
Post subject: | Re: Using an axis boundaries array and Manual Scale | ||
Note: When changing this to a regular bar chart it does the same thing. As you can see the value is there just doesnt seem to be charting?
|
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |