3
votes

i am facing an issue in the highcharts export. We have a custom download button and on click of that we are calling the Highchart exportChart which is redrawing the chart and is messing the chart . Can you please let us know how we can stop the redrawing of the chart while doing export ?

2
provide some code or a live demo for us to find the problem!Raein Hashemi

2 Answers

0
votes

You may have specified some events like "load" in highcharts option, so that events may be called when you export a chart. This may cause problems. Disabling the events while exporting chart, solve the problem.

Official Docs

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

This happens because of your load function in event.