title: JavaScript - Export Div with SVG chart + HTML as and Image
body: <p>We have angular js application which uses highchart js library and it render chart as SVG. We have made several widget which display combination of data, let say in some widget we have only SVG chart, in some we have only tabular data rendered with angular directive, while in some widget we have combination of both i.e. some chart + some HTML (it can be simple bullet list or let say tabular data rendered with angular). Now we want to give functionality so that each widget can be exported as image.</p>
  
  <p>We came across this example <strong>jsfiddle.net/8ypxW/3/</strong> which use html2canvas library and work well with HTML only data, but SVG chart is not exported with this.</p>
  
  <p>We thought to generate image from server side through C#, but each widget is generated with js library (highchart &amp; angular), so in this case we do not have any direct support on server side.</p>
  
  <p>What are the solution for above scenario? or what can be other approach to achieve similar.</p>