Bottom border and Right border missing in Chart's PDF

Hello,


I am using Aspose.Cells v8.6.3.6 to generate PDF of chart - Chart 2 in the attached excel file. In the PDF output, the bottom border and right border is missing.

This is a break in v8.6.3.6. as compared to v8.6.3.

Following code is used to generate the output:

Workbook workbook = new Workbook(“test.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “PieChart”;
Chart chart = ws.get(worksheetName).getCharts().get(“Chart 2”);
chart.toPdf(“D:\8.6.3.6 pdf.pdf”);

Can you please analyse this issue.

Thanks,
Neha

Hi,


Thanks for providing us template files.

After an initial test, I observed the issue as your mentioned by using your sample code with your template file. I found that the bottom and right borders are missing in the Chart’s PDF file format as per your attached screenshot.
e.g
Sample code:

Workbook workbook = new Workbook(“test.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “PieChart”;
Chart chart = ws.get(worksheetName).getCharts().get(“Chart 2”);
chart.toPdf(“out1.pdf”);

I have logged a ticket with an id “CELLSJAVA-41696” for your issue. We will look into your issue soon.

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

Thank you.


Hi,

Thanks for using Aspose.Cells.

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

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


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