pChart 2.x forum http://wiki.pchart.net/forum/ |
|
setScatterSerieDrawable does not work http://wiki.pchart.net/forum/viewtopic.php?f=5&t=175 |
Page 1 of 1 |
Author: | hhlskti [ Fri Feb 04, 2011 5:53 pm ] |
Post subject: | 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. |
Author: | jean-damien [ Tue Feb 08, 2011 11:32 am ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |