To display a stacked bar chart of a function
main topic
    example     data     see also 

1    Choose Graph > Bar Chart.

2    From Bars represent, choose A function of a variable.

3    Under One Y, choose Stack. Click OK.

4    From Function, choose a function.

5    In Graph variables, enter one or more columns of data. Minitab displays a separate graph for each column.

6    In Categorical variables for grouping (2-4, outermost first), enter two to four columns of grouping (categorical) variables. The first variable is outermost on the scale and the last variable is innermost.

7    Make sure that Stack values of last categorical variable is checked.

8    If you like, use any dialog box options, then click OK.