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

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

stpoa opened this issue Mar 23, 2017 · 5 comments

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

stpoa opened this issue Mar 23, 2017 · 5 comments


Copy link

@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 - 5.0.4 - does not work - 5.0.3 - works as expected

  1. Click export button
  2. Notice that nothing happens

Affected browser(s)


Copy link

@oysteinmoseng 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.

Copy link

@aviramga aviramga commented Jul 10, 2018

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

Copy link

@sebastianbochan sebastianbochan commented Jul 11, 2018

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

Chrome: 67.0.3396.99

Copy link

@mantydze mantydze commented Oct 4, 2019

Hi @sebastianbochan,

I'm fighting same battle right now...
My chart has yAxis with title like this "my units 10^30"

I tried to add simple snippet into highcharts config and export stopped working:

      	   useHTML: true,
      	   text: 'my units 10<sup>30</sup>'

See working example:

Copy link

@pawelfus pawelfus commented Oct 7, 2019


Please open js console, and you will find the reason:

(...) The offline exporting module will fail for certain browsers, and certain features (e.g. exporting.allowHTML ) (...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants