Skip to content

added svg to png export as image file#60

Open
IvanSladkov wants to merge 4 commits intodevelopfrom
svgtopng
Open

added svg to png export as image file#60
IvanSladkov wants to merge 4 commits intodevelopfrom
svgtopng

Conversation

@IvanSladkov
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/util/import-vis.js Outdated

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

// Print telkens maar een deel van het svg af om een of andere reden
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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