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

Free Support Forum - aspose.com

[Aspose.cells] Graph legend color when saveAs PDF

we are using Aspose.Cells 8.6.2 for providing Excel and Pdf files from Excel templates files.
In this case the template contains a graph.
In the template, legends of this graph are formated with different colors.
When the file is saved as Excel file, legends color are correct.
But when the file is saved as Pdf file with aspose, legends color are mixed.

Attached to this post
- generated Excel file NK_PVR_GIS_1030407.xlsx
- generated Pdf file with Excel NK_PVR_GIS_1030407-Excel.pdf
- generated Pdf file with Aspose NK_PVR_GIS_1030407-Aspose.pdf

Eric Hamel


Thanks for your nice description of the issue with comparative exported files via MS-Excel and Aspose.Cells and using Aspose.Cells.

We were able to replicate this issue using the following code with the latest version:

for Java v8.6.2.4

and found legend colors of the graph are wrong.

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-41643 - Legends of the graph are formatted with different colors

I have also attached the output pdf generated with the following code and screenshot highlighting the issue for a reference.


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

Workbook wb=new Workbook(filePath);

PdfSaveOptions opts=new PdfSaveOptions();
wb.save(filePath + “.out.pdf”, opts);

Hi Shakeel,

happy to ear that you can replicate the issue.
Thanks for congratulations on the quality of the post :slight_smile:

Just a question out of the scope of this issue.
When you answer a post, we receive no more notifications by email, which was the process so far.
What should I do to receive new mail notifications ?

thx for your answer.
Eric Hamel

Hi Eric,

As you are the owner of the thread therefore you should receive email notifications about new posts on this thread. In case you are not getting such notifications then you can subscribe to the thread using the Subscribe button on the post window.

Hi Babar,

since Aspose licence was renewed by our IS Group Department, email address was wrong. So that’s the explanantion why we didn’t receive notifications.
But you can log only one address to the profile and we are a team of 3 working on the project.
Is there a way to link others email address for receiving notifications ?

Eric Hamel


Thanks for your posting and considering Aspose.

Did you try the Subscribe button found on every post. Please provide the email to it and it should subscribe you with the current thread and then you should be able to receive the emails whenever there is some new post on this thread. Let us know your feedback.


Thanks for using Aspose.Cells.

We have fixed the issue CELLSJAVA-41643.

Please download and try the latest fix: Aspose.Cells for Java v8.6.2.6 and let us know your feedback.

Thanks for this fix.
It works fine for this issue.
I’m waiting now the new version including this fix.

Eric Hamel

there is no need to use the subscribe button for receiving notification on “logger” email address.
But for others team members, this means each one need to logg with own profile, search for the post and use the subscribe button.
What about “child accounts” on “email” profile tab ?
do your Support Management Soft is abble to send a notification to all “child account” of main “logger” account ?

Eric Hamel


Thanks for pointing it out and considering Aspose APIs.

What about “child accounts” on “email” profile tab ?
do your Support Management Soft is abble to send a notification to all “child account” of main “logger” account ?

Eric Hamel

It should serve your purpose. Just add your emails as child accounts and you should be able to get emails in all the child accounts. However, if you want to confirm it from Aspose website team, then please post your question in Aspose.Portal forum. Please create a replica of it in the Aspose.Purchase forum.

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

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