View unanswered posts | View active topics It is currently Sat Apr 27, 2024 5:04 pm



Reply to topic  [ 1 post ] 
LabelRotation parameter in drawScatterScale Bug 
Author Message
New pChart user
New pChart user

Joined: Thu Jan 05, 2012 1:31 am
Posts: 1
Post LabelRotation parameter in drawScatterScale Bug
The documentation for drawScatterScale lists 'LabelRotation' as the parameter to change to rotate labels on the X-axis, but the drawScatterScale method uses XLabelsRotation.

Also in pScatter.class.php line 230 there is a typo in a variable:

Code:
if ( $XLabelsRotation > 180 && $SLabelxRotation < 360 ) ... 


Should be:
Code:
if ( $XLabelsRotation > 180 && $XLabelsRotation < 360 ) ...


Or if the first suggestion is taken, perhaps:
Code:
if ( $LabelRotation > 180 && $LabelRotation < 360 ) ....


Thanks for a great library!!


Thu Jan 05, 2012 1:37 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

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