Export chart on the server

4 posts, 0 answers
  1. Hartmut Kocher
    Hartmut Kocher avatar
    5 posts
    Member since:
    Mar 2010

    Posted 21 Jun 2012 Link to this post

    Is there a way to generate svg (or png/pdf) directly on the server?
    All examples that I have seen so far, generate the svg in the browser and post it back to the server where it's converted to png/pdf.

    I want to create a report on the server. So there is no chart visible in the client browser. The image must be created entirely on the server (where it will be embedded in PDF or Excel files that are created on the fly).

    Any ideas?

    Kind regards
    Hartmut
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 22 Jun 2012 Link to this post

    Hi Hartmut,

    We have a code library project which demonstrates how to export Kendo UI Chart to a PNG or a PDF file using Inkscape.

    Kind regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Hartmut Kocher
    Hartmut Kocher avatar
    5 posts
    Member since:
    Mar 2010

    Posted 22 Jun 2012 Link to this post

    Hi Iliana,

    I am sorry but your answer is completely beside my question. Your code project shows a solution where the chart is rendered in the client browser and the svg is posted back to the server where it is rendered as a png picture. This only works if the chart is shown in the browser.

    I am looking for a solution where the chart is rendered on the server! (not in the browser). I don't want to show the chart first, but I want to create a chart in the background (so I can include it in a Excel or PDF report). So at the time of the creation the chart is not visible!

    So basically, I need to create the svg on the server. Do you have a solution for this?

    kind regards
    Hartmut
  4. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 23 Jun 2012 Link to this post

    Hi Hartmut,

    I apologize for the misunderstanding. I am afraid we do not have such a solution in Kendo UI, because it is a client-side library. For your scenario I would suggest to check the Telerik Reporting tool.

    Regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top