Use global default bar spacing in StackedBarChart
Signed-off-by: Vinicius Tinti <vinicius.tinti@almg.gov.br>
This commit is contained in:
parent
5bc9d66339
commit
3a733a98f8
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ func (sbc StackedBarChart) GetHeight() int {
|
||||||
// GetBarSpacing returns the spacing between bars.
|
// GetBarSpacing returns the spacing between bars.
|
||||||
func (sbc StackedBarChart) GetBarSpacing() int {
|
func (sbc StackedBarChart) GetBarSpacing() int {
|
||||||
if sbc.BarSpacing == 0 {
|
if sbc.BarSpacing == 0 {
|
||||||
return 100
|
return DefaultBarSpacing
|
||||||
}
|
}
|
||||||
return sbc.BarSpacing
|
return sbc.BarSpacing
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue