Comments on: dotProject Percent Bar Gradient mod http://compsci.ca/blog/dotproject-percent-bar-gradient-mod/ Programming, Education, Computer Science Wed, 30 Sep 2020 08:31:44 -0400 http://wordpress.org/?v=2.8.4 hourly 1 By: Dan Popescu http://compsci.ca/blog/dotproject-percent-bar-gradient-mod/comment-page-1/#comment-108981 Dan Popescu Fri, 05 Sep 2008 09:17:46 +0000 http://compsci.ca/blog/dotproject-percent-bar-gradient-mod/#comment-108981 you can replace the color part with: <code> printf("#XX00",min(255,2.55*2*(100-$obj->project_percent_complete)),min(255,2.55*2*$obj->project_percent_complete)) </code> you can replace the color part with:

printf("#XX00",min(255,2.55*2*(100-$obj->project_percent_complete)),min(255,2.55*2*$obj->project_percent_complete))

]]>