-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: develop
Are you sure you want to change the base?
Conversation
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment can be removed
There was a problem hiding this 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
There was a problem hiding this 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?
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. |
@IvanSladkov Any update on this? |
No description provided.