简体   繁体   中英

highcharts export png files

I have a problem with the highcharts export server.

I Try to paint a graphic format. Png and jumps me the following error.

Timeout converting SVG,is your file this big, or maybe you have a syntax error in the javascript callback? anyone knows how to increase the timeout call? if I make less expensive representations paints them without problem

Thanks

Open highcharts-convert.js file. There you have:

var config = {
        /* define locations of mandatory javascript files */
        HIGHCHARTS: 'highstock.js',
        HIGHCHARTS_MORE: 'highcharts-more.js',
        HIGHCHARTS_DATA: 'data.js',
        JQUERY: 'jquery.1.9.1.min.js',
        TIMEOUT: 2000 /* 2 seconds timout for loading images */
    },

As you can see, there is timeout, set it higher and should work fine. For course that solution is suppose to work for phantomJS server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM