- Code: Select all
currentSheet.ToSVGStream(
fs,
chart.TopRow,
chart.LeftColumn,
chart.BottomRow,
chart.RightColumn);
fs.Flush();
fs.Close();
i get the following error:
{System.InvalidOperationException: Queue empty.
at System.Collections.Generic.Queue`1.ThrowForEmptyQueue()
at System.Collections.Generic.Queue`1.Dequeue()
at Spire.Xls.Core.Spreadsheet.XlsWorksheet.ToSVGStream(Stream stream, Int32 firstRow, Int32 firstColumn, Int32 lastRow, Int32 lastColumn)
at POC.Converter.BLL.RtfConverter.ExcelToSvg(Stream memoryStream, String filename) in C:\Users\G01357\source\repos\POC.Converter\POC.Converter.BLL\RtfConverter.cs:line 40
at POC.Converter.API.Controller.CopyPasteController.PasteHtml(IFormFile files) in C:\Users\G01357\source\repos\POC.Converter\POC.Converter.API\Controller\CopyPasteController.cs:line 39}
do any know a solution to this problem? and further on, whats the scope of adding more chart types? as we are using Waterfall charts also.