Graphs in excel are not converting properly


#1

Problem: Spreadsheets sometimes show incorrect graph data

Description:
Some spreadsheets do not show the correct graph data when converted to PDF through GroupDocs. In the attached file the pie graph only shows 2 colors instead of 4 after being run through GroupDocs xlsx to pdf.

Environment:

  • GroupDocs Conversion SDK: Java (1.8.0_181)
  • Operating System: Ubuntu 14.04.5 LTS
  • GroupDocs version: 18.7

Spreadsheet:

  • Microsoft Excel: 16.9

Provided: sample-spreadsheet.xlsx.zip (11.7 KB)


#2

@bkirkby,

Thanks for your inquiry.
Can you please share the code sample that you used for the conversion process?


#3

@bkirkby,

This issue is reproduced at our end using following code:

ConversionHandler conversionHandler = new ConversionHandler(Utilities.getConfiguration());
PdfSaveOptions saveOption = new PdfSaveOptions(); 

// Set absolute path to file
String guid = fileName;

ConvertedDocument convertedDocumentPath = conversionHandler.<String> convert(guid, saveOption);
convertedDocumentPath.save(fileName + "." + convertedDocumentPath.getFileType());

Hence, we have logged it in our internal issue tracking system with ID CONVERSIONJAVA-518. As we have any update on it, you’ll be notified.