- data table dt = new data table ();
- DataView dv = new DataView(dt);
- dv.RowFilter = ("Id='License1'");
- Chart1.DataSource = dv;
- Chart1.DataBind();
Asp chart control
I have a data table consist of three rows id,use,name.I want to create a line chart using asp chart control .In my above code The chart will drawn for the license 1 column .But I wish to create multi series charts.How can i do suggest some ideas through coding.
id | Use | Time |
| License1 | 1 | 1 |
| License1 | 2 | 2 |
| License1 | 3 | 3 |
| License1 | 4 | 4 |
| License1 | 5 | 5 |
| License2 | 6 | 1 |
| License2 | 7 | 2 |
| License2 | 8 | 3 |
| License2 | 9 | 4 |
| License2 | 10 | 5 |
User 805Posted Dec 15, 2016, 7:12 AM