Opened 14 years ago

#3276 new defect

Mapserver Mapchart - piechart is drawn as a full circle when negligible slice is present

Reported by: TonnyCZ Owned by: thomas.bonfort@…
Priority: normal Milestone:
Component: Charting Version: 5.4
Severity: normal Keywords: mapchart, pie, slice, GD, AGG
Cc:

Description

In case that some slice of piechart should be negligible due to the total value of pie (like at the attached image where total value of pie is 1437 and one of the attribute (slice) has size 1), then the piechart is drawn as full circle by color of the smallest slice of the pie. When I switched rendering to AGG instead of GD, the problem with full circle disapear (see attached image). That probably means the problem causes the GD renderer.

Regards Antonin

Attachments (2)

mapchart_bug.png (38.6 KB ) - added by TonnyCZ 14 years ago.
Piechart with GD renderer
mapchart_bug2.png (57.5 KB ) - added by TonnyCZ 14 years ago.
Piechart with AGG renderer

Download all attachments as: .zip

Change History (2)

by TonnyCZ, 14 years ago

Attachment: mapchart_bug.png added

Piechart with GD renderer

by TonnyCZ, 14 years ago

Attachment: mapchart_bug2.png added

Piechart with AGG renderer

Note: See TracTickets for help on using tickets.