I have created a simple presentation in Powerpoint with one basic chart (not a linked excel). When I edit the chart data in my code with aspose and save the presentation I can no longer access the data in powerpoint. Powerpoint gives me alert: “The linked file isn’t available. This error can occur if the linked file has been moved or hasn’t been saved. Embedding the data instead of linking it can help avoid this error, but the data won’t be updated automatically if it changes in the source file.”
Please check your results using the latest version of Aspose.Slides if it is possible. If the issue persists, please share the following data and information:
input and output presentation files (you can zip the files and upload them here)
Thank you for your reply.
I’m using the 2022/4 version.
I managed to find the reason for the problem. I was passing an empty string to the series legend:
Seems this is somewhat illegal value for the legend. PowerPoint doesn’t allow this and automatically replaces it to “Column 1” or something if trying manually set “” there.
Maybe you want to add check for this on your end too.
@raimo,
Thank you for the additional information. We are glad to know that the issue is already resolved on your end. Unfortunately, I was unable to reproduce the problem on my end. If you think that you have found some case of incorrect behavior of Aspose.Slides, please share the input and output presentation files with the chart and a comprehensive code example.