OBSOLETE BAR CHARTS PACKAGE SYMBOL

BarSpacing

As of Version 7.0, BarSpacing is part of the built-in Mathematica kernel.

BarSpacing
is an option for bar charts that determines the fraction of the bar width to space the bars in a group of bars.

DetailsDetails

  • To use BarSpacing, you first need to load the Bar Charts Package using Needs["BarCharts`"].
  • BarSpacing sets the distance between bars within a group of bars in BarChart.
  • BarSpacing sets the distance between groups of bars in PercentileBarChart and StackedBarChart.
  • In BarChart3D, BarSpacing->{m,n} specifies distances between bars in the x and y directions.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

The bars within a group are tightly packed:

In[2]:=
Click for copyable input
Out[2]=

The bars within a group are widely spaced:

In[3]:=
Click for copyable input
Out[3]=

The columns are widely spaced:

In[4]:=
Click for copyable input
Out[4]=

This leaves space in the x direction, but not in the y direction:

In[5]:=
Click for copyable input
Out[5]=