Support customizing the spacing between bars in discrete bar.