Save HtmlChart as image for use in Excel

2 posts, 0 answers
  1. Simon
    Simon avatar
    7 posts
    Member since:
    Mar 2012

    Posted 30 Jun 2014 Link to this post

    Is it possible to save a HtmlChart as an image? The goal is to use it in excel or similar products.
  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 01 Jul 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top