Hi ksriramaddteq!
Welcome to our forum and thanks for contacting us with your question!
Actually, it is not possible to achieve that straight from the API level, in order to get such functionality you need to use a 3rd party plugin. Here is the official demo of XLSX Export using this plugin:
https://jsfiddle.net/gh/get/library/pur ... data/xlsx/
There is also a GitHub ticket with a discussion about XLSX, you can find it here:
https://github.com/highcharts/highcharts/issues/14240
The demo above is exporting only data because you can't export data to XLS/XLSX along with the chart. The only option is to use export twice, one to export data from the chart and the second to export PNG (image) of the chart.
Feel free to ask any further questions.
Kind regards!