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

Local exporting to PNG does not work with "allowHTML: true" [5.0.4+] #6499

Closed
stpoa opened this Issue Mar 23, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@stpoa

stpoa commented Mar 23, 2017

Expected behaviour

Export chart to PNG using local exporting.

Actual behaviour

Chart doesn't get exported to PNG

Live demo with steps to reproduce

http://jsfiddle.net/a4nfo52h/ - 5.0.4 - does not work
http://jsfiddle.net/a4nfo52h/1/ - 5.0.3 - works as expected

  1. Click export button
  2. Notice that nothing happens

Affected browser(s)

Chrome
Firefox
Safari

@oysteinmoseng

This comment has been minimized.

Show comment
Hide comment
@oysteinmoseng

oysteinmoseng Mar 27, 2017

Collaborator

Note that we are supposed to fall back when there is actual HTML in the chart. But I added a fix so it doesn't fall back unless there really are foreignObjects in the SVG.

Collaborator

oysteinmoseng commented Mar 27, 2017

Note that we are supposed to fall back when there is actual HTML in the chart. But I added a fix so it doesn't fall back unless there really are foreignObjects in the SVG.

@aviramga

This comment has been minimized.

Show comment
Hide comment
@aviramga

aviramga Jul 10, 2018

Was this solved? Im still getting this on 6.1.0
@oysteinmoseng @stpoa

aviramga commented Jul 10, 2018

Was this solved? Im still getting this on 6.1.0
@oysteinmoseng @stpoa

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan Jul 11, 2018

Contributor

Hi @aviramga,
When I run a demo: http://jsfiddle.net/BlackLabel/9fhajmbe/ chart is exported to a file. Please let me know which browser (including full number of versions) you have.

Chrome: 67.0.3396.99

Contributor

sebastianbochan commented Jul 11, 2018

Hi @aviramga,
When I run a demo: http://jsfiddle.net/BlackLabel/9fhajmbe/ chart is exported to a file. Please let me know which browser (including full number of versions) you have.

Chrome: 67.0.3396.99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment