diff --git a/LC_Tutorial/Tutorial/BasicPlots/StepLineWindow.xaml b/LC_Tutorial/Tutorial/BasicPlots/StepLineWindow.xaml
new file mode 100644
index 0000000..d7e50af
--- /dev/null
+++ b/LC_Tutorial/Tutorial/BasicPlots/StepLineWindow.xaml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LC_Tutorial/Tutorial/BasicPlots/StepLineWindow.xaml.cs b/LC_Tutorial/Tutorial/BasicPlots/StepLineWindow.xaml.cs
new file mode 100644
index 0000000..79c24bd
--- /dev/null
+++ b/LC_Tutorial/Tutorial/BasicPlots/StepLineWindow.xaml.cs
@@ -0,0 +1,63 @@
+using LiveCharts;
+using LiveCharts.Wpf;
+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.Shapes;
+
+namespace Tutorial.BasicPlots
+{
+ ///
+ /// StepLineWindow.xaml에 대한 상호 작용 논리
+ ///
+ public partial class StepLineWindow : Window
+ {
+ public SeriesCollection SeriesCollection { get; set; }
+
+ public StepLineWindow()
+ {
+ InitializeComponent();
+ InitInstance();
+ }
+
+ private void InitInstance()
+ {
+ SeriesCollection = new SeriesCollection()
+ {
+ new StepLineSeries()
+ {
+ Title = "Series 1",
+ Values = new ChartValues { 9, 6, 5, 7, 8, 9, 7, 6, 7, 5 }
+ },
+ new StepLineSeries()
+ {
+ Title = "Series 2",
+ Values = new ChartValues { 1, 4, 3, 1, 4, 2, 1, 2, 3, 5 },
+ AlternativeStroke = Brushes.Transparent,
+ StrokeThickness = 3,
+ PointGeometry = null
+ }
+ };
+
+ DataContext = this;
+ }
+
+ private void btnAdd_Click(object sender, RoutedEventArgs e)
+ {
+ Random rand = new Random();
+ foreach (var series in SeriesCollection.Cast())
+ {
+ series.Values.Add((double)rand.Next(1, 11));
+ }
+ }
+ }
+}
diff --git a/LC_Tutorial/Tutorial/MainWindow.xaml b/LC_Tutorial/Tutorial/MainWindow.xaml
index 7059e62..6e7a8e8 100644
--- a/LC_Tutorial/Tutorial/MainWindow.xaml
+++ b/LC_Tutorial/Tutorial/MainWindow.xaml
@@ -17,6 +17,7 @@
+
diff --git a/LC_Tutorial/Tutorial/MainWindow.xaml.cs b/LC_Tutorial/Tutorial/MainWindow.xaml.cs
index 4aaabf1..d28b4f2 100644
--- a/LC_Tutorial/Tutorial/MainWindow.xaml.cs
+++ b/LC_Tutorial/Tutorial/MainWindow.xaml.cs
@@ -55,5 +55,11 @@ namespace Tutorial
StackedAreaWindow win = new StackedAreaWindow();
win.Show();
}
+
+ private void btnStepLine_Click(object sender, RoutedEventArgs e)
+ {
+ StepLineWindow win = new StepLineWindow();
+ win.Show();
+ }
}
}