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

SVG export button #1027

Merged
merged 4 commits into from
Feb 25, 2016
Merged

SVG export button #1027

merged 4 commits into from
Feb 25, 2016

Conversation

davkal
Copy link
Contributor

@davkal davkal commented Feb 24, 2016

  • applies CSS styles inline
  • exports SVG chart node
  • injects A tag to download
  • based on SVG-crowbar

Fixes #555

* applies CSS styles inline
* exports SVG chart node
* injects A tag to download
* based on SVG-crowbar

Fixes #555
@davkal
Copy link
Contributor Author

davkal commented Feb 24, 2016

Current export function modifies the SVG in the main DOM which leads to sometimes disappearing borders of nodes. Would be good to copy the SVG subtree and inject the inline styles to the copy.

@davkal davkal changed the title [WIP] SVG export button SVG export button Feb 25, 2016
@davkal davkal self-assigned this Feb 25, 2016
@pidster
Copy link
Contributor

pidster commented Feb 25, 2016

LGTM

@foot foot assigned foot and unassigned davkal Feb 25, 2016
@foot
Copy link
Contributor

foot commented Feb 25, 2016

Nice, LGTM

davkal added a commit that referenced this pull request Feb 25, 2016
@davkal davkal merged commit 9fa3b19 into master Feb 25, 2016
@davkal davkal deleted the 555-svg-export branch February 25, 2016 13:09
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.

3 participants