We were able to observe this issue by executing your sample code with your source excel file using the latest version: Aspose.Cells for Java v16.12.3 and found that chart is wrong on opening and saving the source excel file.
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-42128 - Chart is wrong on opening and saving the source excel file
I have also attached the output excel file generated with this code and screenshot highlighting for are a reference.
Java
Workbook wb = new Workbook(dirPath + “aaaa.xlsx”);
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.