Graph > Bar Chart > choose Bars represent: Values from a table > choose Two-way table - Stack > OK
Use to display a bar chart of a table of summary data, stacked by grouping variables.
Graph variables: Enter one or more columns of summary data.
Row labels: Enter the column containing the grouping (categorical) variable.
Table Arrangement
Columns are outermost categories and rows are innermost: Choose to make each variable column an outermost category and each variable row an innermost category.
Rows are outermost categories and columns are innermost: Choose to make each variable row an outermost category and each variable column an innermost category.
Stack innermost category values: Check to stack the innermost categories. Each category is represented by a separate segment of a bar.
Note |
For a bar chart of a two-way table, you can cluster or stack, but not both. |