Free Support Forum - aspose.com

How to set chart data range of an excel for Powerpoint?

Hi Team,

I need your help to answer the following problem.

I am using the Aspose.Slides.dll file (version 15.4.0.0) to create chart in PowerPoint slide. There is requirement to update chart workbook details at runtime and set its data range The following method is available in the next version (i.e. 16.11.0.0) of Aspose.Slides.dll to set data range but not in the version I am using so I am looking for any alternative solution to set the data range.

namespace: Aspose.Slides.Charts
Interface: IChartData
Method: void SetRange(string formula);

Thanks

@Kuljeet,

I have observed your requirement and regret to share that there is no alternate option to set chart data range in previous versions. The feature has been added in later version so, I suggest you to please try using latest Aspose.Slides for .NET 18.4 on your as it has got support for MSO 2016 charts as well.