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

Free Support Forum - aspose.com

Improper 3D rendering of chart in Chart's PDF

Hello,


I am using Aspose.Cells v8.6.3 to generate PDF of chart - Chart 1 in the attached excel file. The 3D rendering of Chart in the PDF output is inappropriate.
Please see the attached screenshot comparing the Aspose generated PDF with the Excel Generated PDF.

Following code is used to generate the output:

void chartToPDF() throws Exception {
Workbook workbook = new Workbook(“3D chart rendering.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “Sheet1”;
Chart chart = ws.get(worksheetName).getCharts().get(“Chart 1”);
chart.toPdf(“D:\Aspose generated Chart 1.pdf”);
}

Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for contacting Aspose support.

I am afraid, the current implementation of Aspose.Cells APIs cannot render the 3D aspects of the chart therefore such aspects (rotation etc) will be flattened to 2D while rendering to PDF.