Hi Vijayakumar,
Thanks for contacting Syncfusion Support.
We have analyised your query and created a sample to add series dynamically in the code behind technique.
We have created the series object in code behind and added data to it.
Code Example:
[Default.aspx.cs]
Series series1 = new Series();
series1.Type = Syncfusion.JavaScript.DataVisualization.SeriesType.Column;
//Add Chart data
List<Data> data1 = new List<Data>();
Random yValue = new Random();
for (int i = 0; i < 20; i++)
{
data1.Add(new Data(i, yValue.Next(10, 50)));
}
//DataSource Bind to the Series
this.Chart1.Series.Add(series1);
//Bind DataSource for Series 1
this.Chart1.Series[0].DataSource = data1;
this.Chart1.Series[0].XName = "Xvalue";
this.Chart1.Series[0].YName = "YValue1";
this.Chart1.DataBind();
Screenshot:
We have prepared a sample according to your requirement
https://www.syncfusion.com/downloads/support/forum/120868/ze/WebApplication643790636
Please let us know if you have any concerns
Regards,
Deepaa.