wenxiangchao
3 天以前 b544d5cccd76735e034c8055918a50927b437474
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<hb:NotifyControl x:Class="Plugin.BurnIn.LiveChart"
             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:local="clr-namespace:Plugin.BurnIn"
             mc:Ignorable="d" 
             
             xmlns:hb="clr-namespace:HMI.Base;assembly=HMI.Base"
             xmlns:lvc="clr-namespace:LiveChartsCore.SkiaSharpView.WPF;assembly=LiveChartsCore.SkiaSharpView.WPF"
             
             Loaded="UserControl_Loaded"
             Unloaded="UserControl_Unloaded"
             SizeChanged="UserControl_SizeChanged"
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <lvc:CartesianChart Series="{Binding Series}" BorderThickness="1" BorderBrush="Black"
                            Padding="0"
                            Margin="2"
                            SyncContext="{Binding Sync}"
                            XAxes="{Binding XAxes}"
                            YAxes="{Binding YAxes}"
                            TooltipTextPaint="{Binding TooltipTextPaint}"
                            TooltipTextSize="{Binding TooltipTextSize}"
                            DrawMarginFrame="{Binding DrawMarginFrame}"
                            x:Name="chart">
        </lvc:CartesianChart>
    </Grid>
</hb:NotifyControl>