Code Monkey home page Code Monkey logo

Comments (4)

A---- avatar A---- commented on May 18, 2024

Now this is going to get tricky, but I've managed to make it work one time;
See the dependency chart here? http://a----.github.io/highcharts-export-clientside/ It still works when you resize the browser.
The magic's here: https://github.com/A----/highcharts-export-clientside/blob/gh-pages/js/dependency-tree.js#L53

from highcharts-export-clientside.

ChartHeaven avatar ChartHeaven commented on May 18, 2024

Is this because you're not using the current chart instance (that includes the label change) for exporting?

Below is the code I'm trying to use and I don't understand why it's not using the current chart instance for exporting:

onclick: function () {                                      
           this.exportChartLocal({                                        
            filename: Highcharts.exporting.USE_TITLE_FOR_FILENAME,
            type: Highcharts.exporting.MIME_TYPES.PDF
        });

http://jsfiddle.net/pscjzhe4/218/

from highcharts-export-clientside.

A---- avatar A---- commented on May 18, 2024

I was sure I answered you but heh.

The chart instance is the same, the renderers are different. It does not work even if you use an exporting server ( http://jsfiddle.net/pscjzhe4/219/ ). You'll have to hack into things.

Check how I did it.

from highcharts-export-clientside.

ChartHeaven avatar ChartHeaven commented on May 18, 2024

Found another way to solve this puzzle!

Check this :)

http://jsfiddle.net/pscjzhe4/221/

from highcharts-export-clientside.

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.