diff --git a/PacticeSolution/ChartSample/App.xaml b/PacticeSolution/ChartSample/App.xaml
new file mode 100644
index 0000000..90431ce
--- /dev/null
+++ b/PacticeSolution/ChartSample/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/PacticeSolution/ChartSample/App.xaml.cs b/PacticeSolution/ChartSample/App.xaml.cs
new file mode 100644
index 0000000..fde3ac5
--- /dev/null
+++ b/PacticeSolution/ChartSample/App.xaml.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace ChartSample
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/PacticeSolution/ChartSample/AssemblyInfo.cs b/PacticeSolution/ChartSample/AssemblyInfo.cs
new file mode 100644
index 0000000..8b5504e
--- /dev/null
+++ b/PacticeSolution/ChartSample/AssemblyInfo.cs
@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/PacticeSolution/ChartSample/ChartSample.csproj b/PacticeSolution/ChartSample/ChartSample.csproj
new file mode 100644
index 0000000..9941933
--- /dev/null
+++ b/PacticeSolution/ChartSample/ChartSample.csproj
@@ -0,0 +1,14 @@
+
+
+
+ WinExe
+ net6.0-windows
+ enable
+ true
+
+
+
+
+
+
+
diff --git a/PacticeSolution/ChartSample/MainWindow.xaml b/PacticeSolution/ChartSample/MainWindow.xaml
new file mode 100644
index 0000000..e39af5c
--- /dev/null
+++ b/PacticeSolution/ChartSample/MainWindow.xaml
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PacticeSolution/ChartSample/MainWindow.xaml.cs b/PacticeSolution/ChartSample/MainWindow.xaml.cs
new file mode 100644
index 0000000..82a8086
--- /dev/null
+++ b/PacticeSolution/ChartSample/MainWindow.xaml.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace ChartSample
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+
+ InitInstance();
+ }
+
+ private void InitInstance()
+ {
+ chart.LegendLocation = LiveCharts.LegendLocation.Top;
+ chart.AxisY.Add(new LiveCharts.Wpf.Axis { MinValue = 0, MaxValue = 1000 });
+ chart.Series.Clear();
+
+ chart.Series.Add(new LiveCharts.Wpf.LineSeries()
+ {
+ Title = "Sample1",
+ Stroke = new SolidColorBrush(Colors.Blue),
+ Values = new LiveCharts.ChartValues(new List { 700, 200, 300, 400, 500, 600, 700, 800, 900, 90 })
+ });
+
+ chart.Series.Add(new LiveCharts.Wpf.LineSeries()
+ {
+ Title = "Sample2",
+ Stroke = new SolidColorBrush(Colors.Gray),
+ Values = new LiveCharts.ChartValues(new List { 70, 20, 100, 140, 50, 60, 70, 80, 90, 100 })
+ });
+ }
+ }
+}
diff --git a/PacticeSolution/PacticeSolution.sln b/PacticeSolution/PacticeSolution.sln
index 1a8d681..344a4cf 100644
--- a/PacticeSolution/PacticeSolution.sln
+++ b/PacticeSolution/PacticeSolution.sln
@@ -135,6 +135,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TreeViewSample", "TreeViewS
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TriggerAnimations", "TriggerAnimations\TriggerAnimations.csproj", "{9D9FD436-C73C-4DB4-A311-09D2DB65E03E}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChartSample", "ChartSample\ChartSample.csproj", "{2052E6D4-43B5-4847-B629-B844E521C807}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -405,6 +407,10 @@ Global
{9D9FD436-C73C-4DB4-A311-09D2DB65E03E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9D9FD436-C73C-4DB4-A311-09D2DB65E03E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9D9FD436-C73C-4DB4-A311-09D2DB65E03E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2052E6D4-43B5-4847-B629-B844E521C807}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2052E6D4-43B5-4847-B629-B844E521C807}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2052E6D4-43B5-4847-B629-B844E521C807}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2052E6D4-43B5-4847-B629-B844E521C807}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE