diff --git a/stacked_bar_chart.go b/stacked_bar_chart.go index 0a5e723..ffd38ef 100644 --- a/stacked_bar_chart.go +++ b/stacked_bar_chart.go @@ -82,7 +82,7 @@ func (sbc StackedBarChart) GetWidth() int { // GetHeight returns the chart height or the default value. func (sbc StackedBarChart) GetHeight() int { if sbc.Height == 0 { - return DefaultChartWidth + return DefaultChartHeight } return sbc.Height }