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

Add legend to PNG snapshot #458

Open
3 tasks
rshen91 opened this issue Nov 22, 2019 · 1 comment
Open
3 tasks

Add legend to PNG snapshot #458

rshen91 opened this issue Nov 22, 2019 · 1 comment
Labels
enhancement New feature or request :export Exporting related issue

Comments

@rshen91
Copy link
Contributor

rshen91 commented Nov 22, 2019

Is your feature request related to a problem? Please describe.
Currently, the PR #451 takes a PNG or msBlob of the canvas but this does not yet include the legend if it is present. This issue is opened to track adding the legend to the PNG.

Additional context
PR #451 was implemented to get the PNG functionality but including the legend is a good section iteration improvement.

Kibana Cross Issues

Checklist

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present
@rshen91 rshen91 added the enhancement New feature or request label Nov 22, 2019
@markov00 markov00 mentioned this issue Mar 6, 2020
@markov00 markov00 added :interactions Interactions related issue :export Exporting related issue and removed :interactions Interactions related issue labels Mar 26, 2020
@streamich
Copy link

Some ideas for extending the current snapshot PNG generation:

  • It could always generate Blob (instead of now in IE 11 it generates Blob but in other browsers a Data URL).
  • Optionally, a legend could be rendered under the chart, this way there could be as many items in the legend as needed.
  • Optionally, a title could be rendered at the top.
  • Optionally, extra whitespace padding could be added around the chart and legend to look a bit nicer when the PNG is shared somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request :export Exporting related issue
Projects
None yet
Development

No branches or pull requests

3 participants