How to customize color by conditions in bar chart?