Skip to content

Multi-line legend items are positioned incorrectly #284

Closed
@john-soklaski

Description

@john-soklaski

Multi-line legend items are positioned as if they were single-lined:
http://codepen.io/john-soklaski/pen/MygKjM

Debugging through, I found that this happened because the bounding box for the text element was calculated as if the text was all in one line.

I've fixed this in my fork by forcing a recalculation of the legend text's bounding box (though I'm not sure if it is the correct solution):
john-soklaski@855d25c

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions