Select all bars > Editor > Edit Bars > Groups
Use to add, remove, or change the attribute grouping variables on a histogram.
You can also assign attributes to groups on interval plots, individual value plots, and bar charts.
Categorical variables for grouping: Enter up to four columns of categorical grouping variables to assign different attributes to each group and display a legend.