As of Version 7.0, PercentileBarChart has been superseded by BarChart.

generates a stacked bar chart of the data in the lists. The data for each group of bars is scaled so that the sum of the absolute values in a group of bars is 1.


  • To use PercentileBarChart, you first need to load the Bar Charts Package using Needs["BarCharts`"].
  • PercentileBarChart 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.
  • The heights of all the groups of bars in an PercentileBarChart are the same.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Click for copyable input

Chart sets of values:

Click for copyable input

The total height is always the same, but negative values will display below the axis:

Click for copyable input

The sets need not have the same length:

Click for copyable input