Incorrect Colors are rendered in Chart's PDF

Hello,

I am using Aspose.Cells v8.6.3.2 to generate PDF of chart - Plant 3 in the attached excel file. In the PDF output, wrong Colors are rendered for the Chart.

Following code is used to generate the output:

void chartToPDF() throws Exception {
Workbook workbook = new Workbook("test.xlsx");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "Sheet1";
Chart chart = ws.get(worksheetName).getCharts().get("Plant 3");
chart.toPdf("D:\\response_8.6.3.2.pdf");
}

I have attached Excel generated Pdf and Aspose generated Pdf along with a screenshot comparing both.

Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for sharing the sample.

We have evaluated the presented scenario while using the latest revision of Aspose.Cells for Java 8.6.3.2, and we are able to replicate the said issue. In order to further investigate the matter, we have logged this incident as CELLSJAVA-41678. Please spare us little time for proper analysis. In the meanwhile, we will keep you posted with updates in this regard.

Hi,


Please try our latest version/fix: Aspose.Cells for Java v8.6.3.6

We have fixed your issue “CELLSJAVA-41678” now.

Let us know your feedback.

Thank you.

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Hello,


Thanks for your reply.

The issue logged earlier was for Pie Chart which has been fixed. But now the same issue appears for Bar Charts. I have attached another Excel file which has 2 bar charts. Colors of both charts are incorrect in the PDF generated.

Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for sharing the fresh sample.

We have evaluated the presented scenario while using the latest version of Aspose.Cells for Java 8.7.0 and newly shared spreadsheet. We are able to replicate the said issue, that is; colors of a few chart areas render differently in resultant PDF as compared to original chart in the spreadsheet. In order to further investigate the matter, we have logged this incident as CELLSJAVA-41712. Please spare us little time to properly analyze the case and get back with updates in this regard. In the meanwhile, we will keep you posted with updates in this regard.

Hi,

Thanks for using Aspose.Cells.

We have fixed the issue CELLSJAVA-41712.

Please download and try the latest fix: Aspose.Cells for Java v8.7.0.4 and let us know your feedback.

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.