Change chart of high rank charts on export

I ran into a problem in the highcharts release. We have a custom download button, and on click, we call Highchart exportChart, which redraws the chart and fiddles with the chart. Could you please tell us how we can stop the chart from redrawing on export?

+3


source to share


2 answers


I have the same problem. This is because of your load function in the event



0


source


You may have specified some events such as "load" in the highcharts option so that the events can be triggered when the chart is exported. This can cause problems. Disabling events when exporting a diagram, solving the problem.

Official documents



chart.exportChart({type: 'image/png', filename: 'file-name'},{
    chart:{
        events:null
    }
});

      

0


source







All Articles