View unanswered posts | View active topics It is currently Sun Apr 28, 2024 9:03 pm



Reply to topic  [ 2 posts ] 
setScatterSerieDrawable does not work 
Author Message
New pChart user
New pChart user

Joined: Fri Feb 04, 2011 5:36 pm
Posts: 1
Post setScatterSerieDrawable does not work
Lines 166-167 in pData.class.php (2.1.0) were

Code:
 
function setScatterSerieDrawable($ID ,$Drawable=TRUE)
    { if (isset($this->Data["ScatterSeries"][ID]) ) { $this->Data["ScatterSeries"][ID]["isDrawable"] = $Drawable; } }

and of course always false. Added $ to the IDs.

The property is also ignored by the graphing functions, added this
Code:
if ( $Series["isDrawable"] == TRUE){
   ...
}


in the foreach loops and it works for me, but I do not have time to test this more for now.

Great work with the library by the way! I use it to plot measurements as a plot and averages as lines.


Fri Feb 04, 2011 5:53 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Thu Dec 02, 2010 2:31 pm
Posts: 409
Location: France
Post Re: setScatterSerieDrawable does not work
Thank you for having reported this bug. I've updated the next sub release code so all tests are now correctly done.

Kind regards,
JD.


Tue Feb 08, 2011 11:32 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

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