Excel Pie Chart Title is not rendered to image correctly

Hello,

We have a problem regarding the convertion of Excel Pie Charts to Image. The Pie Chart Title is not rendered correctly(the text is different). Here is the code to reproduce this issue:

var workbook = new Workbook(@"Excel_PieChart_Title.xlsx");<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

var chart = workbook.Worksheets[0].Charts[0];

var chartImage = chart.ToImage(newImageOrPrintOptions

{

Quality = 100,

VerticalResolution = 200,

HorizontalResolution = 200,

PrintingPage = PrintingPageType.IgnoreBlank,

ImageFormat = ImageFormat.Png,

OnePagePerSheet = true

});

chartImage.Save("Image_PieChart_Title.png");

Thanks,

Tudor Bancila

IBM Romania

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

We were able to replicate this issue using your sample code with the latest version:
Aspose.Cells
for .NET v7.3.1.2



We have logged this issue in our database. We will look into it and fix the problems.

Once the issue is resolved or we have some other update for you, we will share it with you asap.

This issue has been logged as CELLSNET-41036.

I have attached the image generated by the following sample code for your reference.

C#


string filePath = @“F:\Shak-Data-RW\Downloads\Excel_PieChart_Title.xlsx”;


var workbook = new Workbook(filePath);


var chart = workbook.Worksheets[0].Charts[0];


var chartImage = chart.ToImage(new ImageOrPrintOptions

{

Quality = 100,

VerticalResolution = 200,

HorizontalResolution = 200,

PrintingPage = PrintingPageType.IgnoreBlank,

ImageFormat = ImageFormat.Png,

OnePagePerSheet = true

});


chartImage.Save(filePath + “.out.png”);


Output Image:

Hi,

We have fixed this issue.

Please download and try this fix: Aspose.Cells for .NET v7.3.1.4 and let us know your feedback.

The issues you have found earlier (filed as CELLSNET-41036) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.