Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Loading an Excel file with Charts into Infragistics.XamSpreadsheet V19.2
posted

Hello, 

I have an excel file (with charts in it) that i would like to load into an WPF application using XamSpreadSheet. 

After the spreadsheet was loaded, the charts seems to be missing. 

The excel file with the charts was created via Excel, and not via c# code. 

Here is screenshot of the original excel file:

And here the WPF App with XamSpreadSheet and the missing charts:

The code i used to load the spreadsheet is:

            var workbook = new Workbook(WorkbookFormat.Excel2007);
            workbook = Workbook.Load("D:\\Diagramm Test.xlsx");
            this.XamSpreadsheed.Workbook = workbook;

What did I do wrong? Or is this not possible at all? 

Thank you very in advance for your help. 

Parents
  • 7535
    Verified Answer
    Offline posted

    Hello Adrian,

    Thank you for posting. You must be missing the chartAdapter object and its reference(InfragisticsWPF4.Controls.Grids.XamSpreadsheet.ChartAdapter.v19.1.dll)

    For all the information please refer to this online help document.

    :Let me know if you have any question.

    Regards,

    Divya Jain

Reply Children
No Data