Change Legend Orientation

Use the LegendLayout option to change the orientation of a bar legend according to the nature of the plot.