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

Free Support Forum - aspose.com

Legend overlapping with text in Chart's PDF

Hello,

I am using Aspose.Cells v9.0.7 to generate PDF of chart - "RenderTest_5" in the attached excel file. In the PDF output, legend is overlapping with text.

Following code is used to generate the output:

void chartToPDF() throws Exception {
Workbook workbook = new Workbook("Test_5.xlsm");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "pension";
Chart chart = ws.get(worksheetName).getCharts().get("RenderTest_5");
chart.toPdf("D:\\RenderTest_5_aspose_9.0.7.pdf");
}


Can you please analyse this issue.

Thanks,
Neha
Hi,

Thanks for your posting and using Aspose.Cells.

We have tested this issue with the following sample code with your source excel file using the latest version: Aspose.Cells for Java 16.10.0 and found the issue as per your description. Legend overlapping with text in Chart's PDF.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSJAVA-42024 - Legend overlapping with text in Chart's PDF

I have also attached the output pdf generated with the following code for a reference.

Java
Workbook workbook = new Workbook(dirPath + "Test_5.xlsm");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "pension";
Chart chart = ws.get(worksheetName).getCharts().get("RenderTest_5");
chart.toPdf(dirPath + "output.pdf");

Hi again,

This is to update you that the ticket logged earlier as CELLSJAVA-42024 has been marked resolved. We will shortly share the fix here for your testing.
Hi,

Please try our latest version/fix: Aspose.Cells for Java v16.11.1

Let us know your feedback.

Thank you.

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


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