Position of vertical rule is incorrect in PDF output of excel chart


I am using Aspose.Cells v18.11 to generate PDF of chart - “Chart 2” in the attached excel file. The vertical rule in the chart has moved towards the left of the bar in the PDF output.

Following code is used to generate the output:

Workbook workbook = new Workbook(“test.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “Cyc Chts”;
Chart chart = ws.get(worksheetName).getCharts().get(“Chart 2”);
chart.toPdf(“aspose response 18.11.pdf”);

It was working fine in some previous version of Aspose.Cells library. Since it is a break in functionality, this issue is very critical for us. Can you please look into this on priority and provide a fix for this asap.

PFA below the source excel and PDF output:
attachments.zip (148.7 KB)



Thanks for the template file and sample code.

After an initial test, I am able to observe the issue as you mentioned by using your sample code with your template file. I found that position of vertical rule is incorrect in PDF output of MS Excel chart. I have logged a ticket with an id “CELLSJAVA-42781” for your issue. We will look into it soon.

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


Is there any update on this issue? It has been logged since Jan 2 and is still not resolved.
Can you provide any tentative date for when we can expect it to be fixed.



These kind of issues can not be fixed for now. The reason we have already explained in your other thread: