Color the bar chart by condition

Is there any way to change bar color based on condition?


the height of the bar chart is defined by the responseTime.
However, i want the bar with result ‘pass’ to be green
and the bar with result’socket hang up’ should be red

Is it possible to achieve this?