File tree Expand file tree Collapse file tree
Chart_GettingStarted/Chart_GettingStarted Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Threading . Tasks ;
6+
7+ namespace Chart_GettingStarted
8+ {
9+ public class AdmissionModel
10+ {
11+ public string XValue { get ; set ; }
12+ public double YValue { get ; set ; }
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Linq ;
4+ using System . Text ;
5+ using System . Threading . Tasks ;
6+
7+ namespace Chart_GettingStarted
8+ {
9+ public class AdmissionViewModel
10+ {
11+ public List < AdmissionModel > Data { get ; set ; }
12+
13+ public AdmissionViewModel ( )
14+ {
15+ Data = new List < AdmissionModel > ( )
16+ {
17+ new AdmissionModel ( ) { XValue = "Enrolled" , YValue = 175 } ,
18+ new AdmissionModel ( ) { XValue = "Admits" , YValue = 190 } ,
19+ new AdmissionModel ( ) { XValue = "Applicants" , YValue = 245 } ,
20+ new AdmissionModel ( ) { XValue = "Inquiries " , YValue = 290 } ,
21+ new AdmissionModel ( ) { XValue = "Prospects " , YValue = 320 } ,
22+ } ;
23+ }
24+ }
25+ }
You can’t perform that action at this time.
0 commit comments