View unanswered posts | View active topics It is currently Thu Apr 18, 2024 7:18 am



Reply to topic  [ 2 posts ] 
Using an axis boundaries array and Manual Scale 
Author Message
Experienced pChart user
Experienced pChart user

Joined: Mon Jun 20, 2011 2:37 pm
Posts: 21
Post 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


Attachments:
graph2-1.png
graph2-1.png [ 49.29 KiB | Viewed 5337 times ]
Fri Jun 24, 2011 3:49 pm
Profile
Experienced pChart user
Experienced pChart user

Joined: Mon Jun 20, 2011 2:37 pm
Posts: 21
Post 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?


Attachments:
graph2-2.png
graph2-2.png [ 54.57 KiB | Viewed 5336 times ]
Fri Jun 24, 2011 4:03 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