Dynamically Set Bar Color Based on Previous Node Value