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

how to export chart to excel

3 Answers 147 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
C
Top achievements
Rank 1
C asked on 30 Jul 2013, 03:08 PM
help

3 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 02 Aug 2013, 02:14 PM
Hi,

RadHtmlChart doesn't provide export functionality out of the box. You can refer to this code library, however, that shed more light on how to export the RadHtmlChart to PDF/PNG format.

The main point is that the RadHtmlChart renders entirely on the client-side through JavaScript and it is not available on the server-side like the RadChart. This requires to get initially the SVG rendering of the chart, pass it on the server and use a third party software to transom the SVG into PDF and export it.

Regards,
Danail Vasilev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
C
Top achievements
Rank 1
answered on 04 Aug 2013, 12:38 AM
Those third party tools like telerik cost memory space a lot,My project always throws exception that my computer is  out of memory space.so i will not install any other third party softwares any more.
0
Danail Vasilev
Telerik team
answered on 06 Aug 2013, 03:56 PM
Hello,

I am sorry to hear the provided CL does not fulfill your requirements. We do not explicitly recommend InkScape, it is simply an example. If you have another tool that can generate an image or pdf from an SVG image you can use that instead.

If you need, however a chart that renders and export on the server, you can consider using the RadChart - the chart can be exported to an image format and then if you want you can use an additional library to convert it to a pdf format. If the RadChart, however, is used inside the RadGrid, RadGrid's export can be used for the purpose.

More information about the pros and cons between RadHtmlChart and RadChart can be found in this blog post from Marin Bratanov.

Regards,
Danail Vasilev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Chart (HTML5)
Asked by
C
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
C
Top achievements
Rank 1
Share this question
or