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

Free Support Forum - aspose.com

Replace chart values (slides 7.9 to 14.2)

Hi – I need to loop through each chart on each slide and replace the data values.

previously we loop through each series and then:

foreach (Aspose.Slides.Charts.ChartDataCell cell in series.Values)
cell.Value = 0.1234; //another method gets the correct value

In the new release, series.Values does not exist. How should I revise this?


Hi Tim,

I have observed the requirements shared by you and suggest you to please try using the following sample code on your end to serve the purpose. Please share, if I may help you further in this regard.

foreach (Aspose.Slides.Charts.IChartDataPoint cell in series.DataPoints)
cell.Value.Data = 0.1234; //another method gets the correct value

Many Thanks,