When converting a DOCX file to PDF using the standard code:
Document doc = new Document(@“charts.docx”);
var stream = new MemoryStream();
we have noticed that some charts are not converted correctly. Longer data labels are cut off or moved. We have even tried converting charts to images before saving the PDF as described here but the problem persists.
Please find enclosed a ZIP file with the DOCX and two JPGs:
in-word.jpg: how the polar chart should look
converted.jpg: how it looks after conversion
As you see, the difference is substantial, and the same for the second chart in the word file.
Please take a look at the problem and let us know what can be done.
charts.zip (81.1 KB)