This is a migrated thread and some comments may be shown as answers.
Exporting chart as image, downloading
2 Answers 8 Views
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 20 Apr 2020, 03:22 PM
I know the chart component can export to PDF and/or an Image, but it saves the files via a URL, I imagine for including it in other pages or reports... Instead, what I'd like to do is offer the user to export the current chart to an image (or PDF), but then push that resulting image via a download for the user to download onto their local computer.  Any advice on how to accomplish this?

2 Answers, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 1
answered on 21 Apr 2020, 03:25 PM
Once more never mind... found a demo that shows it...
0
Nikolay
Telerik team
answered on 22 Apr 2020, 10:39 AM

Hi Joe,

I am glad you managed to find what you were looking for. The online demos, the documentation, and the forum are a great source of information where most of the use-cases have been covered.

To help others facing some scenario below I am posting the Chart export API where it is shown how to export charts to PDF, PNG Images, or SVG and save the produced files directly in the browser.

Regards,
Nikolay
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Chart
Asked by
Joe
Top achievements
Rank 1
Answers by
Joe
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or