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

Free Support Forum - aspose.com

Inverted z-index in Stacked Area and Bar Chart when exporting to PDF

Hi,


I’m trying to export a Excel do PDF that has a chart with 2 types of series in the same chart: Stack Area and Bars.

The problem is that in the resulting PDF, the stacked area series are in front of the bar series, hiding the bars behing the stacked area.

Attached the comparision between the chart as it is shown in the PDF and Excel.

Also, attached is the XLSX file used in this test.

Is this a bug or is there something I can do in the Excel file to force the order of the z-index of the elements in the chart?

Hi Rafael,

Thanks for your posting and using Aspose.Cells for Java.

We were able to observe this issue after converting your xlsx file into pdf using the latest version: Aspose.Cells for Java 8.0.2. The stacked area series are in front of the bar series, hiding the bars behind the stacked area.

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-40830.

Java


String filePath = “F:\Shak-Data-RW\Downloads\Template.xlsx”;


Workbook workbook = new Workbook(filePath);

workbook.save(filePath + “.output.pdf”);

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


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