This is almost certainly bug report 1827263 "Spoiled up pie-chart if $val is close to zero". Sorting kind of gets around the problem because the error is covered up by the other slices that follow.
The fix for this bug was already applied to CVS and will be in the next release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having trouble with displaying large and small (relative) values in pie charts. Taking the
text-data-single data type as an example:
$data = array(
array('Australia', 700),
array('Dem Rep Congo', 200),
array('Canada', 1),
);
results in a pie graph that is completely filled in with blue
(see example here: http://www.emailtester.net/goo.php )
I can't normalize the values either - same error. Anyone seen
this before I dig? Thanks!
This is almost certainly bug report 1827263 "Spoiled up pie-chart if $val is close to zero". Sorting kind of gets around the problem because the error is covered up by the other slices that follow.
The fix for this bug was already applied to CVS and will be in the next release.
answering my own question --
seems to work properly when the key value pairs are sorted by increasing value.
thanks!
In the documentation, the arc angle piece must be greater than 1 degree.