I’m currently working on generating a pie chart, which ignores 0 value items. I am using an existing spreadsheet which has the pie chart already build in.
I use aspose.cells to get data from our database and add it to the worksheet in a predefined dataset, which the chart uses to get it’s data. I’m using the method found here: Pie zeros to ensure my pie chart doesn’t pull zero values
My Issue occurs, when I use aspose to export the spreadsheet to an pdf. For some reason, the pie chart will ignore what I had implemented in the example above, and instead show all the data.
I’ve tried using the .CalculateFormula() and even .Worksheets(0).Charts(0).Calculate(), which didnt work
If your issue still occurs then please provide us your runnable sample console application project replicating this issue with the latest version along with your source excel files used in your code.
We will investigate this issue by running your project and then update you how to fix the issue. In case of some bug, we will log it in our database for a fix.
Thanks for your cooperation.
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.
Enables storage, such as cookies, related to analytics.
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.