is an option to BarChart and related functions that controls the spacing between bars and groups of bars.


BarSpacing
is an option to BarChart and related functions that controls the spacing between bars and groups of bars.
Details

- The following settings can be given for BarSpacing:
-
Automatic automatically determine spacing None use no spacing between bars Tiny,Small,Medium,Large use preset automatic spacings s use explicit spacing s between bars {sb,sg} use sb between individual bars and sg between groups - In BarChart and BarChart3D the spacing s is in fractions of the width of a bar.
- In RectangleChart and RectangleChart3D the spacing s is in ordinary coordinates.
Examples
History
Text
Wolfram Research (2008), BarSpacing, Wolfram Language function, https://reference.wolfram.com/language/ref/BarSpacing.html.
CMS
Wolfram Language. 2008. "BarSpacing." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BarSpacing.html.
APA
Wolfram Language. (2008). BarSpacing. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BarSpacing.html
BibTeX
@misc{reference.wolfram_2025_barspacing, author="Wolfram Research", title="{BarSpacing}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/BarSpacing.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_barspacing, organization={Wolfram Research}, title={BarSpacing}, year={2008}, url={https://reference.wolfram.com/language/ref/BarSpacing.html}, note=[Accessed: 15-August-2025]}