diff --git a/PacticeSolution/ChartSample/ChartSample.csproj b/PacticeSolution/ChartSample/ChartSample.csproj
index 9941933..44643ed 100644
--- a/PacticeSolution/ChartSample/ChartSample.csproj
+++ b/PacticeSolution/ChartSample/ChartSample.csproj
@@ -8,6 +8,7 @@
+
diff --git a/PacticeSolution/ChartSample/MainWindow.xaml b/PacticeSolution/ChartSample/MainWindow.xaml
index e39af5c..6600d9f 100644
--- a/PacticeSolution/ChartSample/MainWindow.xaml
+++ b/PacticeSolution/ChartSample/MainWindow.xaml
@@ -5,18 +5,20 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:ChartSample"
xmlns:live="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
+ xmlns:idd="clr-namespace:InteractiveDataDisplay.WPF;assembly=InteractiveDataDisplay.WPF"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
+
-
+
@@ -28,8 +30,13 @@
-
+
+
+
+
+
diff --git a/PacticeSolution/ChartSample/MainWindow.xaml.cs b/PacticeSolution/ChartSample/MainWindow.xaml.cs
index 82a8086..23b3422 100644
--- a/PacticeSolution/ChartSample/MainWindow.xaml.cs
+++ b/PacticeSolution/ChartSample/MainWindow.xaml.cs
@@ -46,6 +46,10 @@ namespace ChartSample
Stroke = new SolidColorBrush(Colors.Gray),
Values = new LiveCharts.ChartValues(new List { 70, 20, 100, 140, 50, 60, 70, 80, 90, 100 })
});
+
+ var x = Enumerable.Range(0, 1001).Select(i => i / 10.0).ToArray();
+ var y = x.Select(v => Math.Abs(v) < 1e-10 ? 1 : Math.Sin(v) / v).ToArray();
+ iddLineGraph.Plot(x, y);
}
}
}