Generate image from htmlchart without displaying the chart

2 posts, 0 answers
  1. Christophe
    Christophe avatar
    2 posts
    Member since:
    Mar 2016

    Posted 04 Mar Link to this post


    Is there a way to generate a chart image from RadHtmlChart for Asp.Net without displaying the chart and without any client code ?


  2. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 09 Mar Link to this post

    Hello Christophe,

    RadHtmlChart renders entirely on the client-side as SVG with JavaScript, so that it is not possible to generate it without the actual rendering. A possible approach is to use a third party library like Phantom JS which runs a browser on the server-side and thus export the image.

    On a side note - the chart can be exported entirely on the client-side once it is rendered. Such an example is available here - The exported file can also be send to the server-side with Web API -

    Danail Vasilev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top