We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Chart colors show major shift in the PDF output

Hi, Please see attached sample chart and its corresponding PDF output. The colors in the output appear completely different from the source chart. Could you please let us know what causes this behavior?



Regards,

Raghav Arora

Hi,

Thanks for your posting and using Aspose.Cells.

We were able to replicate this issue using the following code with your source excel file. The chart colors get changed when excel file is converted to pdf.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSJAVA-41553 - Chart colors show major shift in the PDF output.

I have also attached the output pdf generated with the following sample code for a reference.

Java
String filePath = “D:\Downloads\ColorIssue.xlsx”;

Workbook workbook = new Workbook(filePath);

PdfSaveOptions opts = new PdfSaveOptions();
opts.setOnePagePerSheet(true);

workbook.save(filePath + “.out.pdf”, opts);

Thanks Shakeel for the quick confirmation! Please treat this as an important issue. We would highly appreciate an early fix for it.

Regards,
Raghav

Hi Raghav,

Thanks for your posting and considering Aspose.Cells.

We are hopeful your issue will be fixed within couple of weeks. Once, there is some fix or other news for you, we will share it with you asap.

Hi,


Please try our latest version/ fix: Aspose.Cells for Java v8.6.1.6

We have fixed your issue “<span lang=“EN-US” style=“font-size:11.0pt;font-family:
“Calibri”,“sans-serif”;mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-SG;mso-bidi-language:
AR-SA”>CELLSJAVA-41553” now.

Let us know your feedback.

Thank you

Thank you Aspose team, we will test the fix and let you know our feedback.

Hi Team, We have tested the fix. The colors appear fine now, however, the fix has introduced spacing issue between Y-axis and Legends. Please see the attached PDFs (with fix and without fix).



Please let us know your feedback in this regard.



Thanks,

Raghav

Hi,

Thanks for your feedback and using Aspose.Cells.

We were able to replicate this issue with the latest version: Aspose.Cells for Java v8.6.1.6. Now it causes spacing issue between Y-axis and Legends.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSJAVA-41574 - Spacing issue between Y-axis and Legends

I have also attached the screenshot highlighting this issue for a reference.

Thank you for the quick confirmation. We will await the fix for this issue which got introduced with the new version.

Regards,
Raghav

Hi,

Thanks for using Aspose.Cells.

This is to inform you that we have fixed your issue CELLSJAVA-41574 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

The issues you have found earlier (filed as CELLSJAVA-41574;CELLSJAVA-41553) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.