How can i have multiple series in chart? How can i create it programmatically? See attached images of my requirement. I don't find any sample on the web. Pls help me on how to proceed for this.
Thanks in advance.
3 Answers, 1 is accepted
0
Peter
Telerik team
answered on 20 May 2010, 05:23 PM
Hello Sivam,
The Creating Chart Programmatically - more complex example help article shows in detail how to create a Chart item with multiple series programatically. Additionally you will have to set the chart1.PlotArea.DataTable.Visible property to True to add a Data Table to the chart.
Regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.
Thanks for your response. The example shown is fixed number of series. They have showed only 2 series. My need is n series. The number of series is dynamic at run time.
Thanks.
0
Steve
Telerik team
answered on 26 May 2010, 08:46 AM
Hi Sivam,
You can use a foreach loop to go through your data, parameters or whatever you use to specify how many series you would have and create the series in that loop. There is nothing specific about this approach.
Greetings,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.