|
|
@ -5,12 +5,14 @@ |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
xmlns:local="clr-namespace:ChartSample" |
|
|
|
xmlns:local="clr-namespace:ChartSample" |
|
|
|
xmlns:live="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" |
|
|
|
xmlns:live="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" |
|
|
|
|
|
|
|
xmlns:idd="clr-namespace:InteractiveDataDisplay.WPF;assembly=InteractiveDataDisplay.WPF" |
|
|
|
mc:Ignorable="d" |
|
|
|
mc:Ignorable="d" |
|
|
|
Title="MainWindow" Height="450" Width="800"> |
|
|
|
Title="MainWindow" Height="450" Width="800"> |
|
|
|
<Grid> |
|
|
|
<Grid> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="1*"/> |
|
|
|
<RowDefinition Height="1*"/> |
|
|
|
<RowDefinition Height="1*"/> |
|
|
|
<RowDefinition Height="1*"/> |
|
|
|
|
|
|
|
<RowDefinition Height="2*"/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
|
|
|
|
|
|
|
<!--Code--> |
|
|
|
<!--Code--> |
|
|
@ -28,8 +30,13 @@ |
|
|
|
</live:CartesianChart.AxisX> |
|
|
|
</live:CartesianChart.AxisX> |
|
|
|
<live:CartesianChart.Series> |
|
|
|
<live:CartesianChart.Series> |
|
|
|
<live:LineSeries Stroke="Green" Title="Sample1" Values="100, 20, 45, 45, 12, 33, 56, 45, 83, 88"/> |
|
|
|
<live:LineSeries Stroke="Green" Title="Sample1" Values="100, 20, 45, 45, 12, 33, 56, 45, 83, 88"/> |
|
|
|
<live:LineSeries Stroke="Red" Title="Sample2" Values="33, 34, 443, 725, 162, 233, 46, 375, 93, 128"/> |
|
|
|
<live:LineSeries Stroke="Red" Title="Sample2" Values="33, 34, 43, 725, 162, 233, 46, 375, 93, 128"/> |
|
|
|
</live:CartesianChart.Series> |
|
|
|
</live:CartesianChart.Series> |
|
|
|
</live:CartesianChart> |
|
|
|
</live:CartesianChart> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<idd:Chart x:Name="iddChart" Grid.Row="2" |
|
|
|
|
|
|
|
BottomTitle="Argument" LeftTitle="Function" Grid.RowSpan="2"> |
|
|
|
|
|
|
|
<idd:LineGraph x:Name="iddLineGraph" Description="Simple Linegraph" Stroke="Blue" StrokeThickness="2"/> |
|
|
|
|
|
|
|
</idd:Chart> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</Window> |
|
|
|
</Window> |
|
|
|