Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
EzhilarasanElangovan31 committed Oct 30, 2024
1 parent c1264d0 commit 729828a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Chart_GettingStarted/Chart_GettingStarted/StageModel.cs
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 Chart_GettingStarted/Chart_GettingStarted/StageViewModel.cs
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},
};
}
}
}

0 comments on commit 729828a

Please sign in to comment.