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

legend missing from plot save-as #7003

Closed
scottdraves opened this issue Mar 21, 2018 · 0 comments
Closed

legend missing from plot save-as #7003

scottdraves opened this issue Mar 21, 2018 · 0 comments
Assignees

Comments

@scottdraves
Copy link
Contributor

render a plot with a legend, like

new Plot() << new Line(displayName: "A", y: [1, 2]) << new Line(displayName: "B", y: [1.5, 3])

then right-click and "save as PNG". the problem is the legend is missing in the PNG.
it should draw it too.

it should automatically set omitCheckboxes: true for the exported legend.

piorek added a commit that referenced this issue Mar 28, 2018
- better convertToXHTML
- fix drawPng src should be set after onload handler to
piorek added a commit that referenced this issue Mar 28, 2018
scottdraves pushed a commit that referenced this issue Mar 28, 2018
* #7003 WIP:

- better convertToXHTML
- fix drawPng src should be set after onload handler to

* #7003 changes to adjustSvgPositionWithLegend

* #7003 remove image after download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants