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

Free Support Forum - aspose.com

Charting data

I'm trying to create a column chart using values instead of a range. In Excel, I would simply add a series, then enter the data as ={1,2,3,4,5,6,7,8,9,10,5} for the series values. I can also enter the category labels similarly, as in ={1,2,3,4,5,6,7,8,9,10,Avg}. How can I do this using Aspose? In trying to add a new series, it only allows me to enter a string defining a range (I get an exception error if I try chart.NSeries.Add("={1,2,3,4,5,6,7,8,9,10}",false)


In answer to my own question, the equal sign was the problem. To add the data, the statement is chart.Nseries.Add("{1,2,3,4,5,6,7,8,9}").