From 729828a3b49752824d4ecbed3ed94d7079043bb7 Mon Sep 17 00:00:00 2001 From: EzhilarasanElangovan31 Date: Wed, 30 Oct 2024 14:33:52 +0530 Subject: [PATCH] commit --- .../Chart_GettingStarted/StageModel.cs | 14 +++++++++++ .../Chart_GettingStarted/StageViewModel.cs | 24 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 Chart_GettingStarted/Chart_GettingStarted/StageModel.cs create mode 100644 Chart_GettingStarted/Chart_GettingStarted/StageViewModel.cs diff --git a/Chart_GettingStarted/Chart_GettingStarted/StageModel.cs b/Chart_GettingStarted/Chart_GettingStarted/StageModel.cs new file mode 100644 index 0000000..2287b31 --- /dev/null +++ b/Chart_GettingStarted/Chart_GettingStarted/StageModel.cs @@ -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; } + } +} diff --git a/Chart_GettingStarted/Chart_GettingStarted/StageViewModel.cs b/Chart_GettingStarted/Chart_GettingStarted/StageViewModel.cs new file mode 100644 index 0000000..fce12df --- /dev/null +++ b/Chart_GettingStarted/Chart_GettingStarted/StageViewModel.cs @@ -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 Data { get; set; } + + public StageViewModel() + { + Data = new List() + { + 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}, + }; + } + } +}