How to change the colour of the bar chart based on timetaken value?

this has-been answered many times in this forum.