PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Images » Image_Graph » Bug #8055

No Legend with Pie Charts

Details

Submitted2006-06-28 14:49 UTC
Frombert at procurios dot nl
Assignednosey
StatusClosed
PackageImage_Graph
PHP Version5.0.5
OSWin XP
Roadmaps(Not assigned)

Comments

[2006-06-28 14:49 UTC] bert at procurios dot nl

Description:
------------
If I try to add a legend to a chart with type 'pie', it won't appear. Even in the sample charts from http://pear.veggerby.dk/samples.

Example: http://pear.veggerby.dk/samples/code/id/plot_pie_rotate/

If I put this code in a .php file, the chart will appear exactly as shown on that page, but without the legend.

[2006-07-07 20:13 UTC] eric at ericnagel dot com

I agree, and not just on Win XP. I tried on Linux, too, with the same problem. I have this installed on another box, copied that source (older, obviously) & it works fine.

I'm almost sure has to do with Image/Graph/Plot/Pie.php, although I'm not sure what specifically needs to be changed. I'm using version 1.17 from 2005/09/29 of that file and it works fine. Verison 1.19 from 2005/11/27 does not work.

[2006-08-01 14:59 UTC] jelkevdh at webfauna dot nl

I also have the same problem.
This package is also far fom PHP5 strict btw