Is possible to use gradient in bar charts?

Hi. I am wondering if is possible to use a gradient in bar charts instead of using solid colors. I was reading the documentation, however I just could find examples using a color scale with heatmaps. I would like to use something similar, but with bar charts.

Example
image