You must be logged in to post your query.
Home › Forums › Feature Requests & Feedback › Canvas Charts Export to Excel and PDF
Please let me know whether Canvas Charts has feature to Export Chart to PDF and Export Chart to Excel
Exporting Chart data to excel or pdf is not available as an inbuilt feature as of now. However, you can can export chart to pdf using jsPDF as shown in the below code snippet.
var pdf = new jsPDF();
pdf.addImage(dataURL, 'JPEG', 0, 0);
Please take a look at this JSFiddle for an example on exporting chart to pdf using jsPDF.
For exporting into Excel you can use libraries like excelbuilder or SheetJS. Please take a look at this JSFiddle for exporting chart data to excel using SheetJS.
You must be logged in to reply to this topic. Login/Register