Wrong data Labels appear on converting excel Chart to image

Hi,

I am using Aspose.Cells .NET v19.8.0.0 to convert an excel chart to image. In the image the chart labels are incorrect.
The code used is :
sheet.Charts.First().ToImage(“C:\Test.emf”);

I’ve attached the excel sheet used and the output image
test.zip (25.8 KB)

Thanks

@ServerSide527,
This issue is reproduced here and logged in our database for further investigation and a fix. You will be notified here once any update is ready for sharing.

This issue is logged as:
CELLSNET-47662 - Wrong data Labels appear on converting excel Chart to image

@ServerSide527,

This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@ServerSide527,

Please try our latest version/fix: Aspose.Cells for .NET v20.10.6 (attached)

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells20.10.6 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.10.6 For .Net4.0.Zip (5.4 MB)

Hi,

The issue was not fixed with the latest version(20.10.6).
image.png (4.3 KB)
In the output generated and we can still see the wrong labels.

Thanks

@ServerSide527,
We have tested the scenario using the latest version but could not observe this issue. Could you please share a complete console application along with the latest hot fix which can be used to reproduce the issue here? The program output using this latest hot fix is attached here for your reference.

test_emf.emf.zip (3.8 KB)

Hi,

The fix was not working with charts of the same type attached below.
test (2).zip (26.2 KB)

Thanks

@ServerSide527,
We have observed the issue with the sample Excel file and have reopened this ticket for further investigation.

@ServerSide527,

This is to inform you that we have fixed your issue completely now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

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