diff --git a/LC_Tutorial/Tutorial/FinancialWindow.xaml b/LC_Tutorial/Tutorial/FinancialWindow.xaml
new file mode 100644
index 0000000..b452d67
--- /dev/null
+++ b/LC_Tutorial/Tutorial/FinancialWindow.xaml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LC_Tutorial/Tutorial/FinancialWindow.xaml.cs b/LC_Tutorial/Tutorial/FinancialWindow.xaml.cs
new file mode 100644
index 0000000..b00b9b7
--- /dev/null
+++ b/LC_Tutorial/Tutorial/FinancialWindow.xaml.cs
@@ -0,0 +1,98 @@
+using LiveCharts;
+using LiveCharts.Defaults;
+using LiveCharts.Wpf;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+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.Shapes;
+
+namespace Tutorial
+{
+ ///
+ /// FinancialWindow.xaml에 대한 상호 작용 논리
+ ///
+ public partial class FinancialWindow : Window, INotifyPropertyChanged
+ {
+ private string[] _labels;
+
+ public SeriesCollection SeriesCollection { get; set; }
+ public string[] Labels
+ {
+ get { return _labels; }
+ set
+ {
+ _labels = value;
+ OnPropertyChanged(nameof(Labels));
+ }
+ }
+
+ public event PropertyChangedEventHandler? PropertyChanged;
+
+ public FinancialWindow()
+ {
+ InitializeComponent();
+ InitInstance();
+ }
+
+
+ private void InitInstance()
+ {
+ SeriesCollection = new SeriesCollection()
+ {
+ new OhlcSeries()
+ {
+ Values = new ChartValues()
+ {
+ new OhlcPoint(32, 35, 30, 32),
+ new OhlcPoint(33, 38, 31, 37),
+ new OhlcPoint(35, 42, 30, 40),
+ new OhlcPoint(37, 40, 35, 38),
+ new OhlcPoint(35, 38, 32, 33)
+ }
+ },
+ new LineSeries()
+ {
+ Values = new ChartValues {30, 32, 35, 30, 28},
+ Fill = Brushes.Transparent
+ }
+ };
+
+ Labels = new string[]
+ {
+ DateTime.Now.ToString("dd MMM"),
+ DateTime.Now.AddDays(1).ToString("dd MMM"),
+ DateTime.Now.AddDays(2).ToString("dd MMM"),
+ DateTime.Now.AddDays(3).ToString("dd MMM"),
+ DateTime.Now.AddDays(4).ToString("dd MMM"),
+ };
+
+ DataContext = this;
+ }
+
+ protected virtual void OnPropertyChanged(string propertyName = null)
+ {
+ if (PropertyChanged != null)
+ PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
+ }
+
+ private void btnUpdate_Click(object sender, RoutedEventArgs e)
+ {
+ Random rand = new Random();
+ foreach (var point in SeriesCollection[0].Values.Cast())
+ {
+ point.Open = rand.Next((int)point.Low, (int)point.High);
+ point.Close = rand.Next((int)point.Low, (int)point.High);
+ }
+ }
+ }
+}
diff --git a/LC_Tutorial/Tutorial/MainWindow.xaml b/LC_Tutorial/Tutorial/MainWindow.xaml
index 6425d86..0abe730 100644
--- a/LC_Tutorial/Tutorial/MainWindow.xaml
+++ b/LC_Tutorial/Tutorial/MainWindow.xaml
@@ -20,6 +20,7 @@
+
diff --git a/LC_Tutorial/Tutorial/MainWindow.xaml.cs b/LC_Tutorial/Tutorial/MainWindow.xaml.cs
index a13579d..26c9b52 100644
--- a/LC_Tutorial/Tutorial/MainWindow.xaml.cs
+++ b/LC_Tutorial/Tutorial/MainWindow.xaml.cs
@@ -73,5 +73,11 @@ namespace Tutorial
BubbleWindow win = new BubbleWindow();
win.Show();
}
+
+ private void btnFinancial_Click(object sender, RoutedEventArgs e)
+ {
+ FinancialWindow win = new FinancialWindow();
+ win.Show();
+ }
}
}