This is a migrated thread and some comments may be shown as answers.

Save HtmlChart as image for use in Excel

1 Answer 46 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 30 Jun 2014, 02:33 PM
Is it possible to save a HtmlChart as an image? The goal is to use it in excel or similar products.

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 01 Jul 2014, 03:38 PM
Hello Simon,

This feature is not supported out of the box because the RadHtmlChart renders entirely on the client as SVG via JavaScript and therefore it is not directly available on the server for exporting. A possible workaround is to:

   - Obtain the SVG as a string and send it to the server through an Ajax request, once the chart is rendered.
   - Use third-party software that can convert and export the SVG image to a more common user format such as PNG or PDF.

See an example in the Exporting RadHtmlChart to PNG and PDF code library.


Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart (HTML5)
Asked by
Simon
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or