Incorrect Chart Is Displayed When Loading and Saving a PPTX File in Java

Dear Aspose Support Team,

I hope this message finds you well. We have encountered a critical bug in the Aspose.Slides for Java library, specifically related to incorrect chart display after export. Below are the details of the issue, along with the necessary information for your review:

Reproduction Steps:

  1. Example presentation with an affected chart:
    import.zip (47.4 KB)

  2. Code triggering the bug:

public void chartBugReproduction6() throws Exception {
	String importPath = "/path/to/import.pptx";
	String exportPath = "/path/to/export.pptx";

	try (var is = new FileInputStream(new File(importPath))) {
		var pres = new Presentation(is);

		// save imported presentation
		try (var fos = new FileOutputStream(exportPath)) {
			pres.save(fos, SaveFormat.Pptx);
		}
	}
}

Issue Description:

Observations:

  • The Chart seems to fix itself in Powerpoint when right clicking the chart and selecting “Edit Data in Excel”

Environment:

  • Aspose.Slides version: 25.11
  • Java version: 24
  • Operating Systems: Ubuntu 24

Your prompt attention to this matter is highly appreciated. Please let us know if any additional information is required to investigate and resolve this issue.

Thank you for your assistance.

Best regards,

Justin Voitel
Domino informatics GmbH

@justinvo

  1. The user has reported a bug in Aspose.Slides for Java version 25.11 where charts are displayed incorrectly after exporting presentations .
  2. The issue involves visual discrepancies in chart rendering, specifically a missing green data line in exported charts compared to the original .
  3. The bug manifests when importing a presentation and saving it again using the SaveFormat.Pptx .
  4. The user has provided reproduction steps involving a specific .pptx file and a simple save operation that triggers the chart rendering issue .

@justinvo,
Thank you for reporting the issue. I have reproduced the problem where the chart is displayed incorrectly when loading and saving the PPTX file. We apologize for any inconvenience caused.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESJAVA-39768

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.