Files
DP44/DTS Viewer/DTS.Viewer.Modules/DTS.Viewer.Graph/Resources/CommonStyles.xaml

31 lines
1.9 KiB
Plaintext
Raw Normal View History

2026-04-17 14:55:32 -04:00
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/DTS.Common;component/Themes/brushes.xaml" />
</ResourceDictionary.MergedDictionaries>
<Color x:Key="ColorLightChartBackground" A="#FF" R="#FF" G="#FF" B="#FF"/>
<Color x:Key="ColorLightChartForeground" A="#FF" R="#00" G="#00" B="#00" ScA="1"/>
<SolidColorBrush x:Key="Brush_ChartZoomBackground" Color="#11000000" />
<SolidColorBrush x:Key="BrushChartForeground" Color="{StaticResource ColorLightChartForeground}" />
<SolidColorBrush x:Key="BrushChartBackground" Color="{StaticResource ColorLightChartBackground}" />
<Style x:Key="LineChartAxisStyle" TargetType="c1:Axis">
<Setter Property="Position" Value="DisableLastLabelOverflow" />
</Style>
<Style x:Key="LineChartStyle" TargetType="c1:C1Chart">
<Setter Property="Foreground" Value="{StaticResource BrushChartForeground}" />
<Setter Property="Background" Value="{StaticResource BrushChartBackground}" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="BorderThickness" Value="10" />
<Setter Property="Padding" Value="10" />
<Setter Property="ChartType" Value="LineSmoothed" />
<Setter Property="FontFamily" Value="Segoe UI Light" />
<Setter Property="FontSize" Value="14"/>
<Setter Property="HorizontalAlignment" Value="Stretch"/>
<Setter Property="VerticalAlignment" Value="Stretch" />
<Setter Property="MinHeight" Value="200" />
<Setter Property="MinWidth" Value="300" />
</Style>
</ResourceDictionary>