Hello,
I am using Aspose.Cells v8.9.2 to generate PDF of chart - Chart 1 in the attached excel file. In the PDF output, position of vertical grey line is incorrect.
Following code is used to generate the output:
Workbook workbook = new Workbook("test.xlsx");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "Sheet1";
Chart chart = ws.get(worksheetName).getCharts().get("Chart 1");
chart.toPdf("response_8.9.2.pdf");
Can you please analyse this issue.
Thanks,
Neha
Hi,
Thanks for the sample code with template files.
After an initial test, I observed the issue as you mentioned (via screenshot) by using your template file and sample code. I found that position of the vertical grey line is incorrect in the chart’s PDF:
e.g Sample code: Workbook workbook = new Workbook(“test.xlsx”); WorksheetCollection ws = workbook.getWorksheets(); String worksheetName = “Sheet1”; Chart chart = ws.get(worksheetName).getCharts().get(“Chart 1”); chart.toPdf(“response_8.9.2.pdf”);
I have logged a ticket with an id “CELLSJAVA-41982” for your issue. We will look into it soon.
Once we have an update on it, we will let you know here.
Thank you.
@Neha_Gautam,
Please try our latest version aspose.cells-for-java-21.6.
If you find any issue, please provide the source Excel file to help us analyze it.