Is there any way to export an igChart to excel? I have a mix of igGrids and igCharts on my page and I would like to export them all into one excel workbook.
Hello Ryan,
Thank you for posting in our forum!
You might find it useful to look through the following sample which presents exporting igGrid to excel workbook: http://www.igniteui.com/infragistics-excel/overview
In order to add an igChart to the same workbook a possible approach is to export the chart to an image file and then to insert this image in the workbook. The igChart might be export to an image file by using the following method:
var pngImage = $(".selector").igDataChart("exportImage", 200, 100);
Inserting image in a workbook is described in details at the following resource: http://help.infragistics.com/Doc/ASPNET/2013.2/CLR4.0/?page=ExcelEngine_Add_an_Image_to_a_Worksheet.html
You might find useful also this resource: http://help.infragistics.com/Doc/jQuery/Current/CLR4.0?page=ExcelEngine_Using_the_Infragistics_Excel_Engine.html
If you need any further information on this matter or additional assistance feel free to update this thread.
Thanks for the info. That looks like everything I was looking for!