Chart Format Is Incorrect After Converting a PowerPoint Slide to PDF in Java

Hi

When convert to PDF, the chart format are incorrect as the image shows, could you help find the reason?
This is not the first time issue, we had another error before when convert to PDF, the number “33%” on the bar chart was changed to “3”.

Thank you.

Warm regards
Jillian
image 20250929.png (212.8 KB)

@Jillianliu

Hi Jillian,

I understand you’re facing issues with chart formatting during PDF conversion. This can occur due to various factors, including how the charts are rendered or specific settings in the conversion process.

To troubleshoot this, I recommend the following steps:

  1. Update Aspose.PDF: Make sure you are using the latest version of Aspose.PDF, as updates often include bug fixes and enhancements related to rendering.

  2. Check Chart Data: Ensure that the data used in the charts is correctly formatted and that there are no discrepancies in the source document.

  3. Review Conversion Options: Examine the conversion options you are using. Certain settings can impact how charts are rendered in the final PDF.

  4. Render-Stage Approach: If the issue persists, consider rendering the charts separately and then incorporating them into the PDF. This can help maintain the intended formatting.

If you continue to experience issues, please provide a sample document that reproduces the problem, and I will be happy to assist you further.

Best regards!

Hi

Please check the attached original ppt file and try to transfer use Aspose, you will see the disordered chart, thank you.

Warm regards
Jillian
Original File.zip (5.0 MB)

@Jillianliu

Looks like you are using Aspose.Slides to convert PPT file into PDF. We are moving this inquiry to respective forum category where you will be assisted shortly.

@Jillianliu,
I was unable to reproduce the problem shown in your screenshot using Aspose.Slides for Java 25.9. Please share the following information:

  • The code example
  • The output PDF file
  • The OS name and version on which the code was executed
  • The target JDK version in your application project
  • The Aspose.Slides version you are using