You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Hello, I'm running into an error loading a workbook.
var workbook = ReoGridControl.CreateMemoryWorkbook();
workbook.Load(fInfo.FullName, unvell.ReoGrid.IO.FileFormat.Excel2007);
System.NullReferenceException: Object reference not set to an instance of an object.
at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadChart(Worksheet rgSheet, ChartSpace chartSpace)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadGraphic(Document doc, Worksheet rgSheet, Drawing drawingFile, GraphicFrame graphicFrame)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadDrawingObjects(Document doc, Worksheet sheet, Worksheet rgSheet, Drawing drawingFile)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadWorksheet(IWorkbook rgWorkbook, Document doc, WorkbookSheet sheetIndex)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.ReadStream(IWorkbook rgWorkbook, Stream stream)
at unvell.ReoGrid.IO.ExcelFileFormatProvider.Load(IWorkbook workbook, Stream stream, Encoding encoding, Object arg)
at unvell.ReoGrid.Workbook.Load(Stream stream, FileFormat fileFormat, Encoding encoding)
at unvell.ReoGrid.Workbook.Load(String path, FileFormat fileFormat, Encoding encoding)
at unvell.ReoGrid.Workbook.Load(String path, FileFormat fileFormat)
unvell.ReoGrid
runtime v2.0.50727
version 2.0.1.0
Offline
Seems something wrong when loading chart from Excel. Can you send your file to me (jing at reogrid), or upload as a link? thanks!
Offline