<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sys="clr-namespace:System;assembly=mscorlib"
                    xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf">
    
    <!--颜色-->
    <SolidColorBrush x:Key="TextBrush" Color="#4C4949" />
    <SolidColorBrush x:Key="GrayBrush1" Color="#FF727272"/>
    <SolidColorBrush x:Key="GrayBrush2" Color="#FF858484" />
    <SolidColorBrush x:Key="SemiTransparentGreyBrush2" Color="#99FFFFFF"/>
    <SolidColorBrush x:Key="SemiTransparentGreyBrush" Color="#99F0F0F0"/>
    <SolidColorBrush x:Key="SemiTransparentActiveBrush" Color="#50008BE5"/>
    <SolidColorBrush x:Key="WhiteBrush" Color="White"/>

    <!--尺寸-->
    <sys:Double x:Key="FontSize.Title">16</sys:Double>
    <sys:Double x:Key="FontSize.Value">20</sys:Double>
    <sys:Double x:Key="FontSize.Unit">15</sys:Double>

    <Thickness x:Key="TextMargin">5,0</Thickness>

    <!--字体-->
    <Style x:Key="TitleStyle" TargetType="TextBlock">
        <Setter Property="Width" Value="50"/>
        <Setter Property="Foreground" Value="{StaticResource GrayBrush1}"/>
        <Setter Property="FontSize" Value="{StaticResource FontSize.Title}"/>
        <Setter Property="TextAlignment" Value="Right"/>
    </Style>
    <Style x:Key="ValueStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
        <Setter Property="FontSize" Value="{StaticResource FontSize.Value}"/>
        <Setter Property="Padding" Value="{StaticResource TextMargin}"/>
    </Style>
    <Style x:Key="UnitStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource GrayBrush2}"/>
        <Setter Property="FontSize" Value="{StaticResource FontSize.Unit}"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
    </Style>

    <!--Axis.Section-->
    <Style x:Key="Styles.Axis.Section.Selected" TargetType="lvc:AxisSection" >
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="DataLabel" Value="False"/>
        <Setter Property="DisableAnimations" Value="True"/>
        <Setter Property="DataLabelForeground" Value="White"/>
        <Setter Property="Opacity" Value="0.1"/>

        <Setter Property="Stroke" Value="#FFCA000C"/>
        <Setter Property="Fill" Value="#59CA000C"/>
        <!--<Setter Property="Stroke" Value="#FFFDC8C8"/>-->
        <!--<Setter Property="Fill" Value="#59F7D8D8"/>-->
    </Style>

    <!--扫描图，纵向趋势图Y轴 标签-->
    <Style x:Key="AxisSectionStyle" TargetType="lvc:AxisSection" >
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="DataLabel" Value="True"/>
        <Setter Property="DisableAnimations" Value="True"/>
        <Setter Property="DataLabelForeground" Value="White"/>
        <Setter Property="Opacity" Value="0.5"/>
        <Setter Property="Panel.ZIndex" Value="1"/>
    </Style>
</ResourceDictionary>