Dinesh Santhalingam

Dinesh Santhalingam

  • NA
  • 737
  • 367.5k

Asp chart control

Dec 15 2016 5:19 AM
  1. data table dt = new data table ();  
  2.   DataView dv = new DataView(dt);  
  3.   dv.RowFilter = ("Id='License1'");  
  4.    Chart1.DataSource = dv;  
  5.     Chart1.DataBind();  

 
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

Answers (1)