Hi All
I have a List<> which contains multiple items and is built at dynamically when a user clicks Search.
I need to bind this list to a Radchart programmatically and need to add each item in this list to a series then add this to the
Radchart.
I have tried with the code below but i am getting an error - can anyone help?
I need to get all the values from the list in the format yl[0].Average , yl[1].average etc etc and bind this to the radchart...
Many thanks
Ram
I have a List<> which contains multiple items and is built at dynamically when a user clicks Search.
I need to bind this list to a Radchart programmatically and need to add each item in this list to a series then add this to the
Radchart.
I have tried with the code below but i am getting an error - can anyone help?
foreach (ProductsAndPrices yl in YearlyAverage){ string name = yl.Product + " " + yl.ProductStrength + " " + yl.Pack_Size; chart.Name = name; int av = int.Parse(yl.Average.ToString()); chart.AddItem(int.Parse(yl.Average.ToString()), name);}testing.Series.Add(chart);I need to get all the values from the list in the format yl[0].Average , yl[1].average etc etc and bind this to the radchart...
Many thanks
Ram