26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
|
<UserControl x:Class="CtrEditor.ObjetosSim.Traces.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"
|
||
|
mc:Ignorable="d"
|
||
|
xmlns:vm="clr-namespace:CtrEditor.ObjetosSim.Traces"
|
||
|
xmlns:lvc="clr-namespace:LiveChartsCore.SkiaSharpView.WPF;assembly=LiveChartsCore.SkiaSharpView.WPF"
|
||
|
xmlns:convert="clr-namespace:CtrEditor.Convertidores">
|
||
|
|
||
|
<UserControl.Resources>
|
||
|
<convert:MeterToPixelConverter x:Key="MeterToPixelConverter"/>
|
||
|
</UserControl.Resources>
|
||
|
|
||
|
<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>
|