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
    Danail Vasilev avatar
    1476 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.

    Danail Vasilev

    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. DevCraft R3 2016 release webinar banner
Back to Top