RadHtmlChart export of svg as png or jpeg

3 posts, 0 answers
  1. Tomislav
    Tomislav avatar
    10 posts
    Member since:
    Jan 2014

    Posted 12 Nov 2014 Link to this post

    Hi,

    Could you implement export of svg as image without third party program(like inkSpace).
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 13 Nov 2014 Link to this post

    Hi Tomislav,

    Modern browsers that support File API can use the imageDataUrl() to get the base64 string and then a file with the chart image: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#methods-imageDataURL. This article will show you how to get the underlying Kendo Chart widget so you get to this method: http://www.telerik.com/help/aspnet-ajax/htmlchart-client-side-api.html.


    Regards,

    Marin Bratanov
    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
  4. Tomislav
    Tomislav avatar
    10 posts
    Member since:
    Jan 2014

    Posted 13 Nov 2014 in reply to Marin Bratanov Link to this post

    Hi,

    i need to provide support for browser since IE8, so i cant count on canvas.
    I am currently trying to solve this issue with HttpHandler that will turn svg to png with use of third party library.
Back to Top