The color of Bar Chart can be defined by gradient property.
In this case you should set a function that takes a gradient object as an argument. And using addColorStop you may define colors for chart.