Render charts on the server side

4 posts, 0 answers
  1. Jianxun
    Jianxun avatar
    28 posts
    Member since:
    Dec 2013

    Posted 15 Jul 2014 Link to this post

    I have been using Kendo to drawing charts at the web client side.  However, sometimes I need draw chart on the server side(MVC project). E.g., I would like to generate a chart as image then send it in a report email. Can Kendo support generating chart all by server with C# code?  I find highchart have this feature http://www.highcharts.com/component/content/article/2-articles/news/52-serverside-generated-charts
    Thanks in advance.
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 16 Jul 2014 Link to this post

    Hello,

    As your scenario requires the export to happen entirely on the server-side our recommended approach is also PhantomJS. It can be pointed to a designated page and scripted to export it as an image or PDF.

    We also provide a demo that uses Inkscape to export charts from an MVC application. In this scenario the client sees the chart in the browser and sends the SVG output to the server for conversion.

    I hope this helps.

    Regards,
    T. Tsonev
    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 MVC is VS 2017 Ready
  4. Jianxun
    Jianxun avatar
    28 posts
    Member since:
    Dec 2013

    Posted 16 Jul 2014 in reply to T. Tsonev Link to this post

    I prefer to use node.js since it's a server side engine. Any examples make KendoUI available in node.js? Such as "npm install Kendo" and make kendo libs in nodeJS NODE_MODULE path? 
    I am new to node.js and have not succeed in using kendo library in it yet.
  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 18 Jul 2014 Link to this post

    Hello,

    The Kendo UI library is not a great fit for node.js, as it requires a working DOM to operate.

    It is possible in to produce a special-purpose node.js implementation of the Chart, but this is not on our short-term plans.
    Please, cast your vote for this on our UserVoice portal.

    Regards,
    T. Tsonev
    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.

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