|
9 | 9 | d:DesignHeight="300" d:DesignWidth="300"> |
10 | 10 | <Grid Background="#FFE5E5E5"> |
11 | 11 | <Grid.RowDefinitions> |
| 12 | + <RowDefinition Height="auto" /> |
12 | 13 | <RowDefinition Height="*" /> |
13 | 14 | <RowDefinition Height="*" /> |
14 | 15 | </Grid.RowDefinitions> |
15 | | - <wpf:CartesianChart Name="LowPowerChart" Grid.Row="0" Series="{Binding LowPowerSeriesCollection}" Background="Black" DisableAnimations="True" Hoverable="False" DataTooltip="{x:Null}"> |
| 16 | + |
| 17 | + <Grid> |
| 18 | + <Grid.RowDefinitions> |
| 19 | + <RowDefinition Height="*" /> |
| 20 | + <RowDefinition Height="*" /> |
| 21 | + </Grid.RowDefinitions> |
| 22 | + |
| 23 | + <GroupBox Header="Vibration Multiplier" Grid.Row="0"> |
| 24 | + <Grid Row="0" RenderTransformOrigin="0.841,0.517"> |
| 25 | + <Grid.ColumnDefinitions> |
| 26 | + <ColumnDefinition Width="*"></ColumnDefinition> |
| 27 | + <ColumnDefinition Width="auto"></ColumnDefinition> |
| 28 | + </Grid.ColumnDefinitions> |
| 29 | + <Slider x:Name="multiplierSlider" Foreground="Black" Grid.Column="0" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" TickPlacement="BottomRight" ValueChanged="multiplierSlider_ValueChanged" Value="1" Maximum="5" TickFrequency="0.1" IsSnapToTickEnabled="True" Margin="0,2,0,1.667"/> |
| 30 | + <TextBlock Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding ElementName=multiplierSlider, Path=Value, StringFormat='x\{0:0.0\}'}" Height="16" Margin="15.333,0,14,0.333" Width="auto"></TextBlock> |
| 31 | + </Grid> |
| 32 | + </GroupBox> |
| 33 | + </Grid> |
| 34 | + <wpf:CartesianChart Name="LowPowerChart" Grid.Row="1" Series="{Binding LowPowerSeriesCollection}" Background="Black" DisableAnimations="True" Hoverable="False" DataTooltip="{x:Null}"> |
16 | 35 | <wpf:CartesianChart.AxisY> |
17 | 36 | <wpf:Axis MinValue="0" MaxValue="65535" ShowLabels="False"></wpf:Axis> |
18 | 37 | </wpf:CartesianChart.AxisY> |
19 | 38 | <wpf:CartesianChart.AxisX> |
20 | 39 | <wpf:Axis MinValue="0" MaxRange="200" ShowLabels="False"></wpf:Axis> |
21 | 40 | </wpf:CartesianChart.AxisX> |
22 | 41 | </wpf:CartesianChart> |
23 | | - <wpf:CartesianChart Name="HighPowerChart" Grid.Row="1" Series="{Binding HighPowerSeriesCollection}" Background="Black" DisableAnimations="True" Hoverable="False" DataTooltip="{x:Null}"> |
| 42 | + <wpf:CartesianChart Name="HighPowerChart" Grid.Row="2" Series="{Binding HighPowerSeriesCollection}" Background="Black" DisableAnimations="True" Hoverable="False" DataTooltip="{x:Null}"> |
24 | 43 | <wpf:CartesianChart.AxisY> |
25 | 44 | <wpf:Axis MinValue="0" MaxValue="65535" ShowLabels="False"></wpf:Axis> |
26 | 45 | </wpf:CartesianChart.AxisY> |
|
0 commit comments