CtrEditor/ObjetosSim/Traces/ucTraceSimple.xaml

21 lines
1002 B
XML

<UserControl x:Class="CtrEditor.ObjetosSim.ucTraceSimple"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:lvc="clr-namespace:LiveChartsCore.SkiaSharpView.WPF;assembly=LiveChartsCore.SkiaSharpView.WPF"
xmlns:vm="clr-namespace:CtrEditor.ObjetosSim"
mc:Ignorable="d">
<UserControl.DataContext>
<vm:osTraceSimple Alto="3" Ancho="6"/>
</UserControl.DataContext>
<Grid>
<lvc:CartesianChart Width="{Binding Ancho, Converter={StaticResource MeterToPixelConverter}}"
Height="{Binding Alto, Converter={StaticResource MeterToPixelConverter}}"
Name="SignalChart" Series="{Binding Series}">
</lvc:CartesianChart>
</Grid>
</UserControl>