Merge pull request #18 from relvacode/fix/bar-label-render
Fix multi-line bar chart label positioning
This commit is contained in:
commit
f8e80fed56
1 changed files with 1 additions and 1 deletions
2
draw.go
2
draw.go
|
@ -288,7 +288,7 @@ func (d draw) TextWithin(r Renderer, text string, box Box, style Style) {
|
||||||
ty = y
|
ty = y
|
||||||
}
|
}
|
||||||
|
|
||||||
d.Text(r, line, tx, ty, style)
|
r.Text(line, tx, ty)
|
||||||
y += lineBox.Height() + style.GetTextLineSpacing()
|
y += lineBox.Height() + style.GetTextLineSpacing()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue