Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

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)    
Subscription  


 [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. :-)