Skip to content

Commit 20d7a89

Browse files
master
1 parent 0a8a3c5 commit 20d7a89

41 files changed

Lines changed: 1068 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Binary file not shown.
860 Bytes
Binary file not shown.
50.5 KB
Binary file not shown.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31611.283
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Chart_GettingStarted", "Chart_GettingStarted\Chart_GettingStarted.csproj", "{8CD14036-8337-4403-8FF2-247F765F27C0}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{8CD14036-8337-4403-8FF2-247F765F27C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{8CD14036-8337-4403-8FF2-247F765F27C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{8CD14036-8337-4403-8FF2-247F765F27C0}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17+
{8CD14036-8337-4403-8FF2-247F765F27C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{8CD14036-8337-4403-8FF2-247F765F27C0}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{8CD14036-8337-4403-8FF2-247F765F27C0}.Release|Any CPU.Deploy.0 = Release|Any CPU
20+
EndGlobalSection
21+
GlobalSection(SolutionProperties) = preSolution
22+
HideSolutionNode = FALSE
23+
EndGlobalSection
24+
GlobalSection(ExtensibilityGlobals) = postSolution
25+
SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572}
26+
EndGlobalSection
27+
EndGlobal
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 Admission
10+
{
11+
public string XValue { get; set; }
12+
public double YValue { get; set; }
13+
}
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version = "1.0" encoding = "UTF-8" ?>
2+
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace:Chart_GettingStarted"
5+
x:Class="Chart_GettingStarted.App">
6+
<Application.Resources>
7+
<ResourceDictionary>
8+
<ResourceDictionary.MergedDictionaries>
9+
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
10+
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
11+
</ResourceDictionary.MergedDictionaries>
12+
</ResourceDictionary>
13+
</Application.Resources>
14+
</Application>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace Chart_GettingStarted;
2+
3+
public partial class App : Application
4+
{
5+
public App()
6+
{
7+
InitializeComponent();
8+
9+
MainPage = new AppShell();
10+
}
11+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<Shell
3+
x:Class="Chart_GettingStarted.AppShell"
4+
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
5+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6+
xmlns:local="clr-namespace:Chart_GettingStarted"
7+
Shell.FlyoutBehavior="Disabled">
8+
9+
<ShellContent
10+
ContentTemplate="{DataTemplate local:MainPage}"
11+
Route="MainPage" />
12+
13+
</Shell>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace Chart_GettingStarted;
2+
3+
public partial class AppShell : Shell
4+
{
5+
public AppShell()
6+
{
7+
InitializeComponent();
8+
}
9+
}
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 ChartViewModel
10+
{
11+
public List<Admission> Data { get; set; }
12+
13+
public ChartViewModel()
14+
{
15+
Data = new List<Admission>()
16+
{
17+
new Admission() {XValue = "Enrolled", YValue=175},
18+
new Admission() {XValue = "Admits", YValue=190},
19+
new Admission() {XValue = "Applicants", YValue=245},
20+
new Admission() {XValue = "Inquiries ", YValue=290},
21+
new Admission() {XValue = "Prospects ", YValue=320},
22+
};
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)