Opened 14 years ago
Closed 14 years ago
#3482 closed defect (fixed)
VBAR Charts not working with GD
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | chart |
Cc: | tbonfort |
Description
The msautotest/misc/chartlayer_vbar.map test is producing a blank result.
Change History (1)
comment:1 by , 14 years ago
Milestone: | → 6.0 release |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
It seems that drawRectangle() was calling gdImageFilledRectangle() with ymax values less than ymin and so nothing was being drawn. I assume this only affects the GD rendering. I am not sure when the issue was introduced. Presumably it worked once upon a time.
Fix by flipping y's as needed in drawRectangle() in trunk (r10288).
It seems reasonable to port this fix back to the stable branch, but there has so far been no user complaints, so I'll defer that till there is a need.