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

Is it possible to export the Org Chart to pdf/ppt/word document?

3 Answers 128 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Nico
Top achievements
Rank 1
Nico asked on 09 Sep 2014, 09:47 AM
We are evaluating the OrgChart control to have a suitable solution to maintain our organization chart. Is it poosible to export chart into pdf/word/ppt file?

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 11 Sep 2014, 01:56 PM
Hello Nico,

the RadOrgChart does not have such built-in feature. However, with some custom implementation, the desired functionality (regarding the PDF export) could be achieved. Bellow you could find an example, demonstrating such implementation.
 
Regards,
Nencho
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
Giuseppe
Top achievements
Rank 1
answered on 22 Dec 2014, 09:57 AM
Hello,
can I adopt the same solution for RadDiagram?
0
Xavier
Top achievements
Rank 1
answered on 22 Dec 2014, 10:42 PM
This is only working for one page, is it possible to print/export to pdf the complete org chart?

I use your code:

 var doc = jsPDF("landscape", "pt", "a3");
                html2canvas(document.getElementById("RadOrgChart"), {
                    onrendered: function (canvas) {
                        var data = canvas.toDataURL("image/jpeg");
                        var pageWidth = doc.internal.pageSize.width;
                        var pageHeight = doc.internal.pageSize.height;
                        var width = canvas.width;
                        var height = canvas.height;
                        doc.addImage(data, "JPEG", (pageWidth - width) / 2, (pageHeight - height) / 2, width, height);
                        doc.save("scheduler.pdf");
                    }
                });
Tags
OrgChart
Asked by
Nico
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Giuseppe
Top achievements
Rank 1
Xavier
Top achievements
Rank 1
Share this question
or