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

Free Support Forum - aspose.com

Changing chart series value breaks backing excel sheet

I have a simple presentation file with chart. I want to change name of one of series for this chart. When i do that and save document back - I am not able Edit Data for this char anymore (probably because xlsx sheet inside document is broken and won’t open separately).

So series name is changed, but I am not able to edit chart data anymore.
Snippet to use to reproduce for attached sample file(chart_problem.pptx):
License license = new License();

Presentation presentation = new Presentation(INPUT_FILE_NAME);
ISlide slide = presentation.getSlides().get_Item(0);
IChart chart = (IChart)slide.getShapes().get_Item(0);
chart.getChartData().getSeries().get_Item(1).getName().getAsCells().get_Item(0).setValue(“Renamed series”);
presentation.save(OUTPUT_FILENAME, SaveFormat.Pptx);

Just in case you need it - it is reproduced on the latest Aspose.Slides for Java version 14.7.0

Hi Andrey,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-34572 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

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

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