Historical Decomposition patterns

Hi, everyone. Is there anyone who knows how to draw historical decomposition bar plot figures with different shadow patterns rather than simple different colors?

See e.g. https://stackoverflow.com/questions/42640033/matlab-bar-graph-grey-color