The Bar element shows a bar chart of summary statistic values of one or more variables across the values or categories of one or more stratifying variables. The graph can display a single variable or multiple variables of any type arranged in the X and Y zones.
For an example of a graph that uses the bar element, see Example of a Stacked Bar Chart in Graph Builder Examples.
You can change the appearance of the bars that describe the levels of the stratifying variable. Many bar styles are applicable only when there are merged variables on the response axis, or if an overlay variable is present. For bar style descriptions, see Bar Styles and Descriptions.
Note: These options do not apply to variables in the Overlay, Group X, Group Y, Wrap, or Page zones.
Tip: If you have multiple graphs, you can color or size each graph by different variables. Drag a second variable to the Color or Size zone, and drop it in a corner. In the Variables option, select the specific color or size variable to apply to each graph.