View unanswered posts | View active topics It is currently Wed May 08, 2024 6:15 am



Reply to topic  [ 2 posts ] 
Max value of Y axis 
Author Message
pChart user
pChart user

Joined: Fri Jan 21, 2011 2:28 pm
Posts: 4
Post Max value of Y axis
Hi,

The default configuration draw the scale of the Y axis bigger then the max value of the data.

How can I specify the max value of Y axis as the max value of the data?

Best regards


Fri Jan 21, 2011 2:40 pm
Profile
Experienced pChart user
Experienced pChart user

Joined: Wed Dec 22, 2010 9:00 pm
Posts: 30
Post Re: Max value of Y axis
I think you'll have to use the SCALE_MODE_MANUAL setting for the drawScale() function. In doing so, I belive you'll have to provide an array with the ManualScale parameter to provide the min & max values per axis.

Here is a link to the documentation

Good luck


Mon Jan 24, 2011 6:27 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 13 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