fix: fix unit count of xasix
This commit is contained in:
parent
3d20bea846
commit
cac6fd03d3
3 changed files with 10 additions and 4 deletions
|
|
@ -232,7 +232,7 @@ func (l *legendPainter) Render() (Box, error) {
|
|||
x0 += measureList[index].Width()
|
||||
if opt.Align == AlignRight {
|
||||
x0 += textOffset
|
||||
x0 = drawIcon(0, x0)
|
||||
x0 = drawIcon(y0, x0)
|
||||
}
|
||||
if opt.Orient == OrientVertical {
|
||||
y0 += offset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue