|
|
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Author |
Message |
thepurpleblob
New pChart user
Joined: Fri Feb 18, 2011 12:31 pm Posts: 2
|
Bug in pChart class.
Hi,
Version 2.1.0
The chart class seems to ignore zero data values. That is, it ignores that pie slice and replaces it with the next non-zero one. Example...
$chartData->addPoints( array(1,2,3),"Value" ); $chartData->addPoints(array('Red','Green','Blue'),"Legend");
results in three slices red=1, green=2, blue=3
However if the data was...
$chartData->addPoints( array(1,0,3),"Value" );
(note the zero) it would display red=1 and green=3 (no blue). What it should display is red=1 and blue=3 (no green)
This is particularly bad if the slice colours matter to you and have been set using setSliceColor. This bugs stops them being consistent.
|
Fri Feb 18, 2011 12:35 pm |
|
|
thepurpleblob
New pChart user
Joined: Fri Feb 18, 2011 12:31 pm Posts: 2
|
Re: Bug in pChart class.
I hate to bump, but has there been any thoughts about this?
|
Mon Apr 11, 2011 2:11 pm |
|
|
Barrus
New pChart user
Joined: Thu Apr 21, 2011 5:56 am Posts: 2 Location: Munich / Germany
|
Re: Bug in pChart class.
Same problem here. Really need a fix, cause it shows wrong results!
|
Thu Apr 21, 2011 6:00 am |
|
|
Barrus
New pChart user
Joined: Thu Apr 21, 2011 5:56 am Posts: 2 Location: Munich / Germany
|
Re: Bug in pChart class.
Has anybody an idea for a workaround for this problem? really important to me. thanks.
|
Wed May 04, 2011 5:43 am |
|
|
ericlin
New pChart user
Joined: Tue Jul 05, 2011 5:18 pm Posts: 2
|
Re: Bug in pChart class.
I have this problem in Pie Chart and just replace 0 to 0.0000001.
|
Tue Jul 05, 2011 5:22 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: Bug in pChart class.
Hi,
I've just fixed it for the next release. Thanks for having raised it ;o)
Kind regards, JD.
|
Wed Aug 03, 2011 1:22 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: Bug in pChart class.
The 2.1.2 version has been published yesterday correcting this bug and is now available for download at http://www.pchart.net/download. JD.
|
Fri Aug 05, 2011 8:51 am |
|
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 6 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
|
|
|
|