Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from relvacode/fix/bar-label-render
Browse files Browse the repository at this point in the history
Fix multi-line bar chart label positioning
  • Loading branch information
wcharczuk authored Jan 10, 2017
2 parents 47a8a6b + e11622c commit f8e80fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draw.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

0 comments on commit f8e80fe

Please sign in to comment.