Extra label and rule is added on y-axis in Chart's PDF

Hello,


I am using Aspose.Cells v8.6.2.1 to generate PDF of chart - M-C2Cuts1 in the attached excel file. In the PDF output “-5%” label and rule has been added on y-axis of the chart although it doesn’t exist in the excel file.

Following code is used to generate the output:

void chartToPDF() throws Exception {
Workbook workbook = new Workbook(“test.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “GOFER CLF”;
Chart chart = ws.get(worksheetName).getCharts().get(“M-C2Cuts1”);
chart.toPdf(“D:\test.pdf”);
}

Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for sharing the sample for our testing.

We have evaluated the presented scenario while using the latest version of Aspose.Cells for Java 8.6.2.1 and we are able to replicate the following problems.

  • Extra label (-5%) is added to the Y-Axis that is not present in original chart
  • Extra rule/line is added at the bottom for the extra label as in point 1

We have logged this incident as CELLSJAVA-41612 in our bug tracking system for further investigation. Our product team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.

Hi,

Thanks for using Aspose.Cells.

We have fixed the issue CELLSJAVA-41612.

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

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


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