We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Extra text appeared in the image rendered from Excel chart

Hi,

When rendering a chart to image using Aspose.Cells. I noticed extra text was rendered.

Code:
var workbook = new Workbook(@“test.xlsx”);
var options = new ImageOrPrintOptions
{
ImageType = ImageType.Emf,
OnlyArea = false,
TextRenderingHint = TextRenderingHint.ClearTypeGridFit,
OnePagePerSheet = true,
Transparent = true
};

        workbook.Worksheets["sheet1"].Charts[0].ToImage(@"out.emf", options);

I’ve attached the test file, the output and a screenshot for your reference. Could you please help me on this?

image.png (25.8 KB)
test.zip (25.4 KB)

Thanks,

@ServerSide527,

After an initial test, I am able to observe the issue as you mentioned by using your sample code with your template file. I found that some extra text appeared in the image rendered from MS Excel chart. I have logged a ticket with an id “CELLSNET-46443” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@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 v18.11.2 (attached)

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells18.11.2 For .Net2_AuthenticodeSigned.Zip (4.7 MB)
Aspose.Cells18.11.2 For .Net4.0.Zip (4.7 MB)

The issues you have found earlier (filed as CELLSNET-46443) have been fixed in Aspose.Cells for .NET v18.12. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi