GithubHelp home page GithubHelp logo

Comments (2)

PadWorks avatar PadWorks commented on July 20, 2024 1

Hi @karolkolodziej

Thanks for your feedback, the problem has been resolved. The order in the bundle was incorrect, in this case the jspdf and svg2pdf must be loaded before the highcharts scripts.

The whole thing was a little confusing because I couldn't find the init part in the highcharts-code and on the lines in the code of the offline-exporting module which trows the exception, the script is always loaded directly and no attempt is made to find the local library again.

from highcharts.

karolkolodziej avatar karolkolodziej commented on July 20, 2024

Hi @PadWorks!

I think I know what your issue is but there is probably one misconception.
You are saying that:

should also be mentioned is that the two libraries are already loaded dynamically as a bundle and would be available on the site.

But as you can read in our documentation:

By default, the module will load these file from our server on demand, but the URL can be changed using the
[exporting.libURL](https://api.highcharts.com/highcharts/exporting.libURL) option. 
If the scripts have already been loaded by the page, Highcharts will not load them again. 
Note that even when loading these files, no chart data is sent to our server.

Not every time there is a need to load these two libraries thus we only load them on demand but no chart data is being sent anywhere.
If you want to avoid the callbacks when exporting you can load manually load this module as shown in the demo.

from highcharts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.