This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


StackedBarChart[{list1, list2, ...}]
generates a stacked bar chart of the data in the lists.
  • StackedBarChart has the same options as Graphics with the following additions:
BarStyleAutomaticstyle for the bars
BarSpacingAutomaticratio of bar width to space bars in a group
BarGroupSpacingAutomaticspacing between groups of bars
BarLabelsAutomaticlabels at tick marks for each bar (or group)
BarValuesFalsewhether to show the length of each bar
BarEdgesTruewhether edges are drawn around each bar
BarEdgeStyleOpacity[0.5]style for the bar edges
BarOrientationVerticaldetermines horizontal or vertical orientation
  • Each listi is a list of numbers or numeric values. For example: {1, 7, -4, 2, 3}.
  • The listi need not have the same length.