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

added svg to png export as image file #60

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

IvanSladkov
Copy link
Collaborator

No description provided.


saveSvgAsPng(document.querySelector('svg'), name + '.png');

// Print telkens maar een deel van het svg af om een of andere reden
Copy link
Collaborator

@archived-m archived-m Dec 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment can be removed

Copy link
Collaborator

@archived-m archived-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Why is there an export for Sunburst, but not overlap?
  • The export of the sunburst in its current state doesn't tell the user anything. I think should include a legend of at least the colours, otherwise you're just looking at a graph without meaning
  • The "export" button is just floating about somewhere beneath the sunburst, I'd position it somewhere such as beneath the info box

Copy link
Collaborator

@archived-m archived-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, do you think you can still manage the color legend for the sunburst export?

@IvanSladkov
Copy link
Collaborator Author

Yeah, right now I'm looking for a way to incorporate a legend in the export. But the library only converts svg files, so I'll have to find a workaround for that.

@archived-m
Copy link
Collaborator

@IvanSladkov Any update on this?

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

Successfully merging this pull request may close these issues.

2 participants