I have a ASP:Chart control .I want to set it as a dynamic chart.Actually in my Code i refresh the Whole chart for every time .I want to refresh the series alone .Suggest me some Ideas.
- private void chartload()
- {
- DataTable myTable = new DataTable();
- DataView dv = new DataView(myTable);
- dv.RowFilter = (("Name='A'"));
- Chart1.Series[0].LegendText = ddllicense.SelectedItem.Text;
- Chart1.Series[0].BorderWidth = 2;
- Chart1.Legends["Legend1"].Position.Auto = true;
- Chart1.DataSource = dv;
- Chart1.DataBind();
-
- }
-
-
-
- protected void Timer1_Tick(object sender, EventArgs e)
- {
- chartload();
- }