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”.
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:
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.
Check Chart Data: Ensure that the data used in the charts is correctly formatted and that there are no discrepancies in the source document.
Review Conversion Options: Examine the conversion options you are using. Certain settings can impact how charts are rendered in the final PDF.
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.
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.
Please check the information below :
The code example: convert pdf code example.txt
The output PDF file:
The original PDF file:
OS name and version:Red Hat Enterprise Linux release 9.3
JDK version: 11.0.11
aspose-slides version:23.3 original file (2).zip (5.7 MB)
@Jillianliu,
Thank you for your patience. Please note that the second presentation file you provided is not the same as the one shared above, and the resulting PDF looks correct. However, I was unable to reproduce the issue with the first file in the environment you specified. Could you please review the issue again and provide precise details about what is wrong?
Yes, I found that I can’t reproduce the issue I reported first time but I can only reproduce "the number “33%” on the bar chart was changed to “3” during PDF conversion. So the attachment is for 33% to 3 example.
Thank you.
@Jillianliu,
Thank you for the clarification. I was able to reproduce the issue you described with Aspose.Slides for Java 23.3, but it does not occur in version 25.9. We recommend using the latest version of Aspose.Slides.