-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1264d0
commit 729828a
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Chart_GettingStarted | ||
{ | ||
public class StageModel | ||
{ | ||
public string Name { get; set; } | ||
public double Value { get; set; } | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
Chart_GettingStarted/Chart_GettingStarted/StageViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Chart_GettingStarted | ||
{ | ||
public class StageViewModel | ||
{ | ||
public List<StageModel> Data { get; set; } | ||
|
||
public StageViewModel() | ||
{ | ||
Data = new List<StageModel>() | ||
{ | ||
new StageModel(){Name = "Stage A", Value=12}, | ||
new StageModel(){Name = "Stage B", Value=21}, | ||
new StageModel(){Name = "Stage C", Value=29}, | ||
new StageModel(){Name = "Stage D", Value=37}, | ||
}; | ||
} | ||
} | ||
} |