I have a report that gets created dynamically. The report houses a Line Graph. The number of Line Series for this Graph can only be determined at run-time. I am able to add the Line Series to the graph dynamically, however, all the values in the LineGraph are same. Can you tell me how can I create a series and set the 'Y' value of the LineSeries?
In case of Telerik Web UI LineSeries, I can create a CategorySeriesItem, assign it values and then add it to LineSeries. However, no such facility seem to exist for Telerik Reporting LineSeries.
Here is my Reporting Code after InitializeComponent().
foreach
(var obj
in
MyList)
{
Telerik.Reporting.LineSeries ls =
new
Telerik.Reporting.LineSeries();
ls.Name = obj.Name;
...
...
foreach
(var subObj
in
obj)
{
// How do I assign a series of values such as {100,105,109,..} to ls.Y ????
}
graph1.Series.Add(ls);
}