Free Support Forum -

Changing existing Charts


I’m evaluating aspose.excel, and it looks very good, but I miss an important functionality ; changing the datasource for existing charts. Something very important for us. In fact it isn’t really mentioned in the features, but I searched this forum, and somewhere is replied that you were working on this item, and it should me released in a few weeks (28/5/2003 ). So , I hoped it would work by now ?
If so, please let me know how I can realise this.

Thanks, Luc

Hi Luc,

Yes, it’s available now. Please try to use the following code to change datasource for an existing chart:

Charts charts = excel.Worksheets[0].DesignCharts;
charts[0].NSeries.Add(“a1:b4”, true);