You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multi-line legend items are positioned incorrectly #284
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
Activity
etpinard commentedon Feb 25, 2016
Thanks for the report.
Could you test your case against
master?@mdtusz made a few modifs in #243 that may have already fixed this issue.
mdtusz commentedon Feb 25, 2016
Correct. This appears to be fixed by #243 in the master branch and will be solved in the next release.
etpinard commentedon Feb 29, 2016
Fixed in
v1.6.0: http://codepen.io/etpinard/pen/ONPNXojohn-soklaski commentedon Feb 29, 2016
This is fantastic, thank you :)
It works great for me, and I'm liking the scroll-able legend as well.