Wrong Chart Label Colors After 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 label colors after export. Below are the details of the issue, along with the necessary information for your review:

Reproduction Steps:

  1. Example presentation with the affected charts (Slide 1,2 & 3 are affected. Slide 4 is somehow unaffected):
    import.zip (127.1 KB)

  2. Code triggering the bug:

@Test
public void chartBugReproduction8() 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:

  • Expected Chart Appearance:
    image.png (25.4 KB)

  • Aspose Exported Chart Appearance:
    image.png (25.0 KB)

Environment:

  • Aspose.Slides version: 26.2
  • Java version: 25.0.1-tem
  • 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,
Thank you for contacting free support. I need some time to investigate the issue. I will get back to you as soon as possible.

@justinvo,
I have reproduced the issue where the color of the chart data labels is changed after 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-39791

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.