I want to add dynamic series in the chart.
I have a data like date,totalamount. i would like to plot those points on chart.
I get the data from sql database and bind.
i want to plot the data from datatable which will update dynamically.
Series newSeries=new Series();
newseries.ChartType=SeriesChartType.Line;
newSeries.BorderWidth = 3;
Chart1.Series.Add(newSeries);
newSeries.XValueMember = "date1";
newSeries.YValueMembers = "total";
Chart1.DataBind();
this is plotting at last series of the tree view.
please help me on this?
1 Answer