Help with chart data in pptx

Is there an easy example of how to modify the workbook data for a chart in a slide for a pptx format. I have tried the example in the documentation, but get errors. Here is the code I am using SlideEx slide = pres.Slides[1]; ChartEx chart = (ChartEx)(slide.Shapes[7]); Aspose.Cells.Workbook book = (Aspose.Cells.Workbook)(chart.ChartData.Workbook); Aspose.Cells.Worksheet sheet = book.Worksheets[0]; sheet.Cells[1, 1].PutValue(13.5);

Hello Dear,

Can you please share your complete requirement along with project code with us so that we may carry out necessary investigation on our end.

Thanks and Regards,