Point missing and shape squeezed in image renderd by Aspose.Cells

Hi,

When rendering a 100% stacked chart to an image. I noticed one series point is missing and all the bars squeezed.

Code:

var workbook = new Workbook(@".\test.xlsx");
var chart = workbook.Worksheets[0].Charts[0];
chart.ToImage(@".\out.emf");

I’ve attached the test files and a screenshot for your reference. Could you please help take a look?

test.zip (12.5 KB)
image.png (33.0 KB)

Thanks,

An update that I found the squeeze problem even by copying and resaving this worksheet.

Code:
var workbook = new Workbook(@".\original.xlsx");
var copyWorkbook = new Workbook();
copyWorkbook.Copy(workbook);
copyWorkbook.Save(@".\out.xlsx");

Attached the test files and screenshot as well:

test2.zip (21.5 KB)
image.png (27.2 KB)

@ServerSide527,
We were able to observe the issues but we need to look into them more. We have logged the issues in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issues have been logged as

CELLSNET-47369 – Chart point missing and shape squeezed in EMF image renderd by Aspose.Cells
CELLSNET-47370 – Chart point missing and shape squeezed while loading and saving Excel file

@ServerSide527,

We are pleased to inform you that we have fixed your issue (logged earlier as “CELLSNET-47370”). We will soon provide you download link to the fixed version after performing QA and incorporating other enhancements and fixes.

The issues you have found earlier (filed as CELLSNET-47370) have been fixed in Aspose.Cells for .NET v20.6. you may also get the version @ NuGet repos. here (NuGet Gallery | Aspose.Cells 20.6.0).This message was posted using Bugs notification tool by Amjad_Sahi

The issues you have found earlier (filed as CELLSNET-47370) have been fixed in Aspose.Cells for .NET v20.6. you may also get the version @ NuGet repos. here (NuGet Gallery | Aspose.Cells 20.6.0).This message was posted using Bugs notification tool by Amjad_Sahi

HI @ServerSide527
Please try our latest version/fix: Aspose.Cells for .NET v21.7.1 (attached)
Aspose.Cells21.7.1 For .Net2_AuthenticodeSigned.Zip (5.5 MB)
Aspose.Cells21.7.1 For .Net4.0.Zip (5.6 MB)
Aspose.Cells21.7.1 For .NetStandard20.Zip (5.6 MB)

Your issue should be fixed in it.
Let us know your feedback.

The issues you have found earlier (filed as CELLSNET-47369) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao