Skip to content

Commit f4641e7

Browse files
author
EzhilarasanElangovan31
committed
commit
1 parent bdeeeb7 commit f4641e7

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
}

0 commit comments

Comments
 (0)