Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: direct link rendered images truncate legend #1791

Closed
PRI-mcallen opened this issue Apr 15, 2015 · 1 comment
Closed

Bug: direct link rendered images truncate legend #1791

PRI-mcallen opened this issue Apr 15, 2015 · 1 comment

Comments

@PRI-mcallen
Copy link

When sharing images that are linked to a direct rendered image that has many time series, the legend is truncated and will only show a subset of the series names/colors. This is an issue if the legend wraps to multiple lines.

@PRI-mcallen PRI-mcallen changed the title Bug: direct link rendered issues truncate legend Bug: direct link rendered images truncate legend Apr 15, 2015
@torkelo
Copy link
Member

torkelo commented Apr 16, 2015

Fixed yesterday, #1786
dupe of #1749

However your case, having multiple series that wrap to a second line is not fixed. You will have to increase the width of the image to make the legend fit on one row or change it into a table legend.

It is pretty tricky to calculate the height of the legend before rending (something that is done), it can be done for single line legends (that do no wrap) and for table legends. If a single line legend wrap however it becomes tricky. You would have to calculate before the legend html elements are drawn that they would wrap and cause two lines.

@torkelo torkelo closed this as completed Apr 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants