Code: Select all
let chart = $('my-chart-id').highcharts();
chart.exportChart({type: 'image/jpeg'});
Now I'm migrating to React and trying to not use jQuery if I don't have to. I'm using highcharts-react-official. What is the syntax to do the chart export in React?
Does HighchartsExporting have its own named export in Highcharts?
Also, is the getSVGForExport() availble too?
Any pointers would be appreciated. Thanks.