Download Highchart image in Phonegap application


We are developing a mobile application using Phonegap + Ionic. We are using Highcarts in our application. We want to give a feature to share the highchart in facebook, Whatsapp or Twitter. Sharing is not a issue with phonegap as there is a plugin available for that.

Issue is that when we want to share any image using the phonegap plugin we need to give a path of the Image and Highchart uses SVG to display the chart.

I have tried converting SVG into Canvas and then exporting that canvas using org.devgeeks.Canvas2ImagePlugin of phonegap but nothing works.

Can somebody please help or share some code if they have achieved something like this.

Thanks in advance.