init
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
<base:BaseView x:Class="DTS.Viewer.Graph.TestDataView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:base="clr-namespace:DTS.Common.Base;assembly=DTS.Common"
|
||||
xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
|
||||
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
|
||||
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
|
||||
xmlns:converters="clr-namespace:DTS.Common.Converters;assembly=DTS.Common"
|
||||
xmlns:behaviors="clr-namespace:DTS.Common.Behaviors;assembly=DTS.Common"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:graph="clr-namespace:DTS.Viewer.Graph"
|
||||
mc:Ignorable="d"
|
||||
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" d:DataContext="{d:DesignInstance graph:TestDataViewModel}">
|
||||
<base:BaseView.Resources>
|
||||
<ResourceDictionary >
|
||||
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="../Resources/CommonStyles.xaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</base:BaseView.Resources>
|
||||
<Grid x:Name="GraphView" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<c1:C1FlexChart x:Name="MainChart" ChartType="Line" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
|
||||
ToolTipContent="{} Channel: {seriesName} Time: {x} Y: {y}" ScrollViewer.HorizontalScrollBarVisibility="Visible" >
|
||||
<i:Interaction.Behaviors>
|
||||
<behaviors:MouseCaptureBehavior Proxy="{Binding}" />
|
||||
</i:Interaction.Behaviors>
|
||||
<!--<c1:C1FlexChart.ContextMenu >
|
||||
<ContextMenu>
|
||||
<MenuItem Header="Create Marker" Command="{Binding CreateMarkerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}" Visibility="{Binding Path=ShowCursor, Converter={StaticResource BooleanToVisibilityConverter}}" />
|
||||
</ContextMenu>
|
||||
</c1:C1FlexChart.ContextMenu>-->
|
||||
</c1:C1FlexChart>
|
||||
|
||||
|
||||
<Canvas x:Name="ReversibleFrameContainer" Visibility="Collapsed" Background="Transparent" IsHitTestVisible="False">
|
||||
<Path IsHitTestVisible="False" StrokeDashArray="2, 2" Stroke="Black">
|
||||
<Path.Data>
|
||||
<RectangleGeometry x:Name="ReversibleFrame"/>
|
||||
</Path.Data>
|
||||
</Path>
|
||||
</Canvas>
|
||||
</Grid>
|
||||
</base:BaseView>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user