Is it possible to Export UtraChart (Infragistics 11.1) to Excel ?
Is it possible with WebExcelExporter ?
Is there a solution to export UtraChart to Excel without using Interop.Excel ?
SaveChart(objWorkBook, chtMgr_Mod_Exp, "Mgr-Charts");
----------
private void SaveChart(Workbook w, Infragistics.Win.UltraWinChart.UltraChart ChartCtrl, string Sheetname) { Worksheet s = w.Worksheets.Add(Sheetname); System.IO.MemoryStream ms = new System.IO.MemoryStream(); ChartCtrl.SaveTo(ms, System.Drawing.Imaging.ImageFormat.Png); WorksheetImage i = new WorksheetImage(System.Drawing.Image.FromStream(ms)); //s.Rows[0].Cells[0].Value = "Blue Zone : " + dtpFromDate.DateTime.ToString("dd-MMM-yy"); //s.Rows[1].Cells[0].Value = "Red Zone : " + dtpToDate.DateTime.ToString("dd-MMM-yy"); i.TopLeftCornerCell = s.Rows[0].Cells[0]; i.TopLeftCornerPosition = new PointF(0.0F, 0.0F); i.BottomRightCornerCell = s.Rows[22].Cells[9]; i.BottomRightCornerPosition = new PointF(0.0F, 0.0F); s.Shapes.Add(i); }