From 3a733a98f82e7aa47e3b3af58e4002db2de26a7b Mon Sep 17 00:00:00 2001 From: Vinicius Tinti Date: Wed, 20 Mar 2019 09:31:08 -0300 Subject: [PATCH] Use global default bar spacing in StackedBarChart Signed-off-by: Vinicius Tinti --- stacked_bar_chart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacked_bar_chart.go b/stacked_bar_chart.go index ffd38ef..3fdb62d 100644 --- a/stacked_bar_chart.go +++ b/stacked_bar_chart.go @@ -90,7 +90,7 @@ func (sbc StackedBarChart) GetHeight() int { // GetBarSpacing returns the spacing between bars. func (sbc StackedBarChart) GetBarSpacing() int { if sbc.BarSpacing == 0 { - return 100 + return DefaultBarSpacing } return sbc.BarSpacing }