pChart 2.x forum
http://wiki.pchart.net/forum/

LabelRotation parameter in drawScatterScale Bug
http://wiki.pchart.net/forum/viewtopic.php?f=5&t=2321
Page 1 of 1

Author:  Bil [ Thu Jan 05, 2012 1:37 am ]
Post subject:  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!!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/