| Bug #2685 | Plots do not honor ID tags for fills. |
| Submitted: |
2004年11月04日 01:52 UTC |
| From: |
tesla at och dot nu |
Assigned: |
nosey |
| Status: |
Closed |
Package: |
Image_Graph |
| PHP Version: |
4.3.9 |
OS: |
Slackware GNU/Linux |
| Roadmaps: |
(Not assigned) |
[2004年11月04日 01:52 UTC] tesla at och dot nu
Description:
------------
The Image_Graph_Plot_XXX classes do not honor the
ID tag for fillstyles due to missing to supply
the ID tag to the _getFillStyle() method.
Reproduce code:
---------------
Proposed sample patch for Image_Graph_Plot_Bar:
112c112
< ImageFilledRectangle($this->_canvas(), min($x1, $x2), min($y1, $y2), max($x1, $x2), max($y1, $y2), $this->_getFillStyle());
---
> ImageFilledRectangle($this->_canvas(), min($x1, $x2), min($y1, $y2), max($x1, $x2), max($y1, $y2), $this->_getFillStyle($point['ID']));
Comments
[2004年11月04日 07:56 UTC] pear dot nosey at veggerby dot dk
That is indeed correct! The fix will be applied to the code and as soon as somebody grants my CVS access it will be posted!
Thnx for your reportings
[2004年11月04日 10:58 UTC] tesla at och dot nu
Glad to be of help. :-)