Merge pull request #18 from relvacode/fix/bar-label-render

Fix multi-line bar chart label positioning
This commit is contained in:
Will Charczuk 2017-01-10 13:56:09 -08:00 committed by GitHub
commit f8e80fed56

View File

@ -288,7 +288,7 @@ func (d draw) TextWithin(r Renderer, text string, box Box, style Style) {
ty = y
}
d.Text(r, line, tx, ty, style)
r.Text(line, tx, ty)
y += lineBox.Height() + style.GetTextLineSpacing()
}
}