This is a migrated thread and some comments may be shown as answers.

RadHtmlChart export of svg as png or jpeg

2 Answers 159 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Tomislav
Top achievements
Rank 1
Tomislav asked on 12 Nov 2014, 02:48 PM
Hi,

Could you implement export of svg as image without third party program(like inkSpace).

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Nov 2014, 01:11 PM

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.

 
0
Tomislav
Top achievements
Rank 1
answered on 13 Nov 2014, 02:01 PM
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.
Tags
Chart (HTML5)
Asked by
Tomislav
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Tomislav
Top achievements
Rank 1
Share this question
or