We need two functions which can change the look of two specific dashboard images:
First one is a pink circle: circle_function(rate) will help show the circle correctly. If circle_function(100) is called the circle will be full and 100 will write inside.
if circle_function(99), it should be 99% full and 99 will write inside the circle. The function will only work for integer values between 0 and 100, inclusive.
Second one is a green horizontal bar. The working will be the same as above.
Attached image is for the work to be done.
We'll send the PSD.
The solution has to work with IE8 and up.
We can accept a somewhat acceptable degrading for IE7.
In IE6, the functions should at least still work somehow. But a much worse degrading is acceptable.