Hello,got an issue.
I have a column called priority_leave which can take values of P1,P2,P3 in leave_event table.
I want the duration bar change its back color based on these values
if P1-duration bar backcolor-red
else if P2-duration bar backcolor-blue
else duration bar backcolor-yellow
Below is my coding
Thanks for help