SUN2000InfoWindow.xaml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. <Window x:Class="NEIntelligentControl2.Windows.PV.SUN2000InfoWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:NEIntelligentControl2.Windows.PV"
  7. mc:Ignorable="d"
  8. xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
  9. d:DesignHeight="722" d:DesignWidth="1306" Title="SUN2000详情页" Width="1306" Height="649.8" Background="#FF454545" WindowStyle="None" WindowStartupLocation="CenterScreen" MouseLeftButtonDown="Window_MouseLeftButtonDown">
  10. <WindowChrome.WindowChrome>
  11. <WindowChrome/>
  12. </WindowChrome.WindowChrome>
  13. <Window.Resources>
  14. <!--内容背景-->
  15. <SolidColorBrush x:Key="ContentBackground" Color="#FF232D38"/>
  16. <ControlTemplate x:Key="ScrollViewerTemplate" TargetType="{x:Type ScrollViewer}">
  17. <!--View区域背景色-->
  18. <Grid x:Name="Grid" Background="{TemplateBinding Background}">
  19. <Grid.ColumnDefinitions>
  20. <ColumnDefinition Width="*"/>
  21. <ColumnDefinition Width="Auto"/>
  22. </Grid.ColumnDefinitions>
  23. <Grid.RowDefinitions>
  24. <RowDefinition Height="*"/>
  25. <RowDefinition Height="Auto"/>
  26. </Grid.RowDefinitions>
  27. <Rectangle x:Name="Corner" Grid.Column="1" Fill="White" Grid.Row="1"/>
  28. <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="0" Margin="{TemplateBinding Padding}" Grid.Row="0"/>
  29. <ScrollBar x:Name="PART_VerticalScrollBar" AutomationProperties.AutomationId="VerticalScrollBar" Cursor="Arrow" Grid.Column="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Grid.Row="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Style="{DynamicResource MyScrollBarStyle}"/>
  30. <ScrollBar x:Name="PART_HorizontalScrollBar" AutomationProperties.AutomationId="HorizontalScrollBar" Cursor="Arrow" Grid.Column="0" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Orientation="Horizontal" Grid.Row="1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Style="{DynamicResource MyScrollBarStyle}"/>
  31. </Grid>
  32. </ControlTemplate>
  33. <SolidColorBrush x:Key="ScrollBarDisabledBackground" Color="#7FF4F4F4"/>
  34. <Style x:Key="VerticalScrollBarPageButton" TargetType="{x:Type RepeatButton}">
  35. <Setter Property="OverridesDefaultStyle" Value="true"/>
  36. <Setter Property="Background" Value="Transparent"/>
  37. <Setter Property="Focusable" Value="false"/>
  38. <Setter Property="IsTabStop" Value="false"/>
  39. <Setter Property="Template">
  40. <Setter.Value>
  41. <ControlTemplate TargetType="{x:Type RepeatButton}">
  42. <Rectangle Fill="{TemplateBinding Background}" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"/>
  43. </ControlTemplate>
  44. </Setter.Value>
  45. </Setter>
  46. </Style>
  47. <!--滚动条颜色、圆角等设置-->
  48. <Style x:Key="ScrollBarThumb" TargetType="{x:Type Thumb}">
  49. <Setter Property="OverridesDefaultStyle" Value="true"/>
  50. <Setter Property="IsTabStop" Value="false"/>
  51. <Setter Property="Template">
  52. <Setter.Value>
  53. <ControlTemplate TargetType="{x:Type Thumb}">
  54. <!--滚动条颜色和圆角设置-->
  55. <Rectangle Name="thumbRect" Fill="#FFB1B1B1" RadiusX="3" RadiusY="3"/>
  56. <!--鼠标拉动滚动条时的颜色-->
  57. <ControlTemplate.Triggers>
  58. <Trigger Property="IsMouseOver" Value="True">
  59. <Setter Property="Fill" Value="CornflowerBlue" TargetName="thumbRect" />
  60. </Trigger>
  61. </ControlTemplate.Triggers>
  62. </ControlTemplate>
  63. </Setter.Value>
  64. </Setter>
  65. </Style>
  66. <Style x:Key="HorizontalScrollBarPageButton" TargetType="{x:Type RepeatButton}">
  67. <Setter Property="OverridesDefaultStyle" Value="true"/>
  68. <Setter Property="Background" Value="Transparent"/>
  69. <Setter Property="Focusable" Value="false"/>
  70. <Setter Property="IsTabStop" Value="false"/>
  71. <Setter Property="Template">
  72. <Setter.Value>
  73. <ControlTemplate TargetType="{x:Type RepeatButton}">
  74. <Rectangle Fill="{TemplateBinding Background}" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"/>
  75. </ControlTemplate>
  76. </Setter.Value>
  77. </Setter>
  78. </Style>
  79. <Style x:Key="MyScrollBarStyle" TargetType="{x:Type ScrollBar}">
  80. <Setter Property="Background" Value="#77F0F8FF"/>
  81. <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/>
  82. <Setter Property="Stylus.IsFlicksEnabled" Value="false"/>
  83. <!--滚动条宽度-->
  84. <Setter Property="Width" Value="8"/>
  85. <Setter Property="MinWidth" Value="6"/>
  86. <Setter Property="Template">
  87. <Setter.Value>
  88. <ControlTemplate TargetType="{x:Type ScrollBar}">
  89. <!--滚动条背景色-->
  90. <Grid x:Name="Bg" Background="#77DDDDDD" SnapsToDevicePixels="true" Width="8">
  91. <Grid.RowDefinitions>
  92. <RowDefinition />
  93. </Grid.RowDefinitions>
  94. <Track x:Name="PART_Track" IsDirectionReversed="true" IsEnabled="{TemplateBinding IsMouseOver}">
  95. <Track.DecreaseRepeatButton>
  96. <RepeatButton Command="{x:Static ScrollBar.PageUpCommand}" Style="{StaticResource VerticalScrollBarPageButton}"/>
  97. </Track.DecreaseRepeatButton>
  98. <Track.IncreaseRepeatButton>
  99. <RepeatButton Command="{x:Static ScrollBar.PageDownCommand}" Style="{StaticResource VerticalScrollBarPageButton}"/>
  100. </Track.IncreaseRepeatButton>
  101. <Track.Thumb>
  102. <Thumb Style="{StaticResource ScrollBarThumb}"/>
  103. </Track.Thumb>
  104. </Track>
  105. </Grid>
  106. <ControlTemplate.Triggers>
  107. <Trigger Property="IsEnabled" Value="false">
  108. <Setter Property="Background" TargetName="Bg" Value="{StaticResource ScrollBarDisabledBackground}"/>
  109. </Trigger>
  110. </ControlTemplate.Triggers>
  111. </ControlTemplate>
  112. </Setter.Value>
  113. </Setter>
  114. <Style.Triggers>
  115. <Trigger Property="Orientation" Value="Horizontal">
  116. <Setter Property="Width" Value="Auto"/>
  117. <Setter Property="MinWidth" Value="0"/>
  118. <Setter Property="Height" Value="6"/>
  119. <Setter Property="MinHeight" Value="6"/>
  120. <Setter Property="Background" Value="#77F0F8FF"/>
  121. <Setter Property="Template">
  122. <Setter.Value>
  123. <ControlTemplate TargetType="{x:Type ScrollBar}">
  124. <Grid x:Name="Bg" Background="Red" SnapsToDevicePixels="true">
  125. <Grid.ColumnDefinitions>
  126. <ColumnDefinition />
  127. </Grid.ColumnDefinitions>
  128. <Track x:Name="PART_Track" IsEnabled="{TemplateBinding IsMouseOver}">
  129. <Track.DecreaseRepeatButton>
  130. <RepeatButton Command="{x:Static ScrollBar.PageLeftCommand}" Style="{StaticResource HorizontalScrollBarPageButton}"/>
  131. </Track.DecreaseRepeatButton>
  132. <Track.IncreaseRepeatButton>
  133. <RepeatButton Command="{x:Static ScrollBar.PageRightCommand}" Style="{StaticResource HorizontalScrollBarPageButton}"/>
  134. </Track.IncreaseRepeatButton>
  135. <Track.Thumb>
  136. <Thumb Style="{StaticResource ScrollBarThumb}" />
  137. </Track.Thumb>
  138. </Track>
  139. </Grid>
  140. <ControlTemplate.Triggers>
  141. <Trigger Property="IsEnabled" Value="false">
  142. <Setter Property="Background" TargetName="Bg" Value="{StaticResource ScrollBarDisabledBackground}"/>
  143. </Trigger>
  144. </ControlTemplate.Triggers>
  145. </ControlTemplate>
  146. </Setter.Value>
  147. </Setter>
  148. </Trigger>
  149. </Style.Triggers>
  150. </Style>
  151. </Window.Resources>
  152. <Grid>
  153. <Grid.RowDefinitions>
  154. <RowDefinition Height="Auto"/>
  155. <RowDefinition/>
  156. </Grid.RowDefinitions>
  157. <TextBlock Text="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=PVName}" Foreground="WhiteSmoke" HorizontalAlignment="Center" Margin="0,5"/>
  158. <Button Height="25" Width="51.8" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="3,0" BorderBrush="{x:Null}" Foreground="{x:Null}" Padding="0,0,0,0" BorderThickness="0,0,0,0" Background="{x:Null}" Click="Button_Click" WindowChrome.IsHitTestVisibleInChrome="True">
  159. <Image Source="pack://application:,,,/智动启停;component/Images/PV/close.png"/>
  160. </Button>
  161. <Border Background="#FF19222A" CornerRadius="7" Grid.Row="1" Margin="5">
  162. <Grid>
  163. <Grid.ColumnDefinitions>
  164. <ColumnDefinition/>
  165. <ColumnDefinition Width="4*"/>
  166. </Grid.ColumnDefinitions>
  167. <ScrollViewer Margin="5" Template="{DynamicResource ScrollViewerTemplate}" VerticalScrollBarVisibility="Auto">
  168. <StackPanel x:Name="_SPMain">
  169. <Border CornerRadius="7" Background="{StaticResource ContentBackground}">
  170. <Grid>
  171. <Grid.ColumnDefinitions>
  172. <ColumnDefinition/>
  173. <ColumnDefinition Width="1.2*"/>
  174. <ColumnDefinition/>
  175. </Grid.ColumnDefinitions>
  176. <TextBlock Text="名称" Foreground="#FFD4D4D4" HorizontalAlignment="Left" FontSize="17" VerticalAlignment="Center" Margin="10"/>
  177. <Border Grid.Column="1" Background="#02FFFFFF" MouseLeftButtonUp="Border_MouseLeftButtonUp" Tag="p">
  178. <StackPanel Orientation="Horizontal">
  179. <TextBlock Text="功率/kW" Foreground="#FFD4D4D4" HorizontalAlignment="Center" FontSize="16" VerticalAlignment="Center" Margin="3,10,3,10"/>
  180. <StackPanel x:Name="_SPP" Orientation="Horizontal" Visibility="Collapsed">
  181. <Viewbox Width="20" Height="20">
  182. <Viewbox.Style>
  183. <Style TargetType="Viewbox">
  184. <Style.Triggers>
  185. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=IsForwardSort}" Value="False">
  186. <Setter Property="Visibility" Value="Visible"/>
  187. </DataTrigger>
  188. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=IsForwardSort}" Value="True">
  189. <Setter Property="Visibility" Value="Collapsed"/>
  190. </DataTrigger>
  191. </Style.Triggers>
  192. </Style>
  193. </Viewbox.Style>
  194. <Canvas Width="1024" Height="1024">
  195. <Path Fill="WhiteSmoke" Data="M910.222222 796.444444c-17.066667 0-34.133333-5.688889-45.511111-17.066666L551.822222 409.6c-11.377778-5.688889-17.066667-11.377778-34.133333-11.377778-5.688889 0-22.755556 5.688889-28.444445 11.377778l-329.955555 364.088889c-22.755556 22.755556-56.888889 22.755556-79.644445 5.688889-22.755556-22.755556-22.755556-56.888889-5.688888-79.644445l329.955555-364.088889c28.444444-34.133333 73.955556-51.2 119.466667-51.2s85.333333 22.755556 119.466666 56.888889l312.888889 364.088889c22.755556 22.755556 17.066667 56.888889-5.688889 79.644445-11.377778 5.688889-28.444444 11.377778-39.822222 11.377777z"/>
  196. </Canvas>
  197. </Viewbox>
  198. <Viewbox Width="20" Height="20">
  199. <Viewbox.Style>
  200. <Style TargetType="Viewbox">
  201. <Style.Triggers>
  202. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=IsForwardSort}" Value="True">
  203. <Setter Property="Visibility" Value="Visible"/>
  204. </DataTrigger>
  205. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=IsForwardSort}" Value="False">
  206. <Setter Property="Visibility" Value="Collapsed"/>
  207. </DataTrigger>
  208. </Style.Triggers>
  209. </Style>
  210. </Viewbox.Style>
  211. <Canvas Width="1024" Height="1024">
  212. <Path Fill="WhiteSmoke" Data="M517.688889 796.444444c-45.511111 0-85.333333-17.066667-119.466667-51.2L73.955556 381.155556c-22.755556-22.755556-17.066667-56.888889 5.688888-79.644445 22.755556-22.755556 56.888889-17.066667 79.644445 5.688889l329.955555 364.088889c5.688889 5.688889 17.066667 11.377778 28.444445 11.377778s22.755556-5.688889 34.133333-17.066667l312.888889-364.088889c22.755556-22.755556 56.888889-28.444444 79.644445-5.688889 22.755556 22.755556 28.444444 56.888889 5.688888 79.644445L637.155556 739.555556c-28.444444 39.822222-68.266667 56.888889-119.466667 56.888888 5.688889 0 0 0 0 0z"/>
  213. </Canvas>
  214. </Viewbox>
  215. </StackPanel>
  216. <Viewbox Width="17" Height="17">
  217. <Viewbox.Style>
  218. <Style TargetType="Viewbox">
  219. <Style.Triggers>
  220. <DataTrigger Binding="{Binding ElementName=__SPP, Path=Visibility}" Value="Visible">
  221. <Setter Property="Visibility" Value="Collapsed"/>
  222. </DataTrigger>
  223. </Style.Triggers>
  224. </Style>
  225. </Viewbox.Style>
  226. <Canvas Width="1024" Height="1024">
  227. <Path Fill="WhiteSmoke" Data="M884.363 558.534H139.636c-51.205 0-63.477 29.636-27.272 65.863L446.182 958.17c36.205 36.228 95.432 36.228 131.637 0l333.818-333.772c36.204-36.228 23.931-65.864-27.274-65.864zM139.636 465.443h744.727c51.205 0 63.478-29.614 27.273-65.818L577.818 65.829c-36.205-36.205-95.432-36.205-131.637 0L112.364 399.625c-36.205 36.204-23.932 65.818 27.272 65.818z"/>
  228. </Canvas>
  229. </Viewbox>
  230. </StackPanel>
  231. </Border>
  232. <Border Grid.Column="2" Background="#02FFFFFF" MouseLeftButtonUp="Border_MouseLeftButtonUp" Tag="i">
  233. <StackPanel Orientation="Horizontal">
  234. <TextBlock Text="ΔI/A" Foreground="#FFD4D4D4" HorizontalAlignment="Center" FontSize="17" VerticalAlignment="Center" Margin="3,10,3,10"/>
  235. <StackPanel x:Name="_SPI" Orientation="Horizontal" Visibility="Collapsed">
  236. <Viewbox Width="20" Height="20">
  237. <Viewbox.Style>
  238. <Style TargetType="Viewbox">
  239. <Style.Triggers>
  240. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=IsForwardSort}" Value="False">
  241. <Setter Property="Visibility" Value="Visible"/>
  242. </DataTrigger>
  243. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=IsForwardSort}" Value="True">
  244. <Setter Property="Visibility" Value="Collapsed"/>
  245. </DataTrigger>
  246. </Style.Triggers>
  247. </Style>
  248. </Viewbox.Style>
  249. <Canvas Width="1024" Height="1024">
  250. <Path Fill="WhiteSmoke" Data="M910.222222 796.444444c-17.066667 0-34.133333-5.688889-45.511111-17.066666L551.822222 409.6c-11.377778-5.688889-17.066667-11.377778-34.133333-11.377778-5.688889 0-22.755556 5.688889-28.444445 11.377778l-329.955555 364.088889c-22.755556 22.755556-56.888889 22.755556-79.644445 5.688889-22.755556-22.755556-22.755556-56.888889-5.688888-79.644445l329.955555-364.088889c28.444444-34.133333 73.955556-51.2 119.466667-51.2s85.333333 22.755556 119.466666 56.888889l312.888889 364.088889c22.755556 22.755556 17.066667 56.888889-5.688889 79.644445-11.377778 5.688889-28.444444 11.377778-39.822222 11.377777z"/>
  251. </Canvas>
  252. </Viewbox>
  253. <Viewbox Width="20" Height="20">
  254. <Viewbox.Style>
  255. <Style TargetType="Viewbox">
  256. <Style.Triggers>
  257. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=IsForwardSort}" Value="True">
  258. <Setter Property="Visibility" Value="Visible"/>
  259. </DataTrigger>
  260. <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}, Path=IsForwardSort}" Value="False">
  261. <Setter Property="Visibility" Value="Collapsed"/>
  262. </DataTrigger>
  263. </Style.Triggers>
  264. </Style>
  265. </Viewbox.Style>
  266. <Canvas Width="1024" Height="1024">
  267. <Path Fill="WhiteSmoke" Data="M517.688889 796.444444c-45.511111 0-85.333333-17.066667-119.466667-51.2L73.955556 381.155556c-22.755556-22.755556-17.066667-56.888889 5.688888-79.644445 22.755556-22.755556 56.888889-17.066667 79.644445 5.688889l329.955555 364.088889c5.688889 5.688889 17.066667 11.377778 28.444445 11.377778s22.755556-5.688889 34.133333-17.066667l312.888889-364.088889c22.755556-22.755556 56.888889-28.444444 79.644445-5.688889 22.755556 22.755556 28.444444 56.888889 5.688888 79.644445L637.155556 739.555556c-28.444444 39.822222-68.266667 56.888889-119.466667 56.888888 5.688889 0 0 0 0 0z"/>
  268. </Canvas>
  269. </Viewbox>
  270. </StackPanel>
  271. <Viewbox Width="17" Height="17">
  272. <Viewbox.Style>
  273. <Style TargetType="Viewbox">
  274. <Style.Triggers>
  275. <DataTrigger Binding="{Binding ElementName=_SPI, Path=Visibility}" Value="Visible">
  276. <Setter Property="Visibility" Value="Collapsed"/>
  277. </DataTrigger>
  278. </Style.Triggers>
  279. </Style>
  280. </Viewbox.Style>
  281. <Canvas Width="1024" Height="1024">
  282. <Path Fill="WhiteSmoke" Data="M884.363 558.534H139.636c-51.205 0-63.477 29.636-27.272 65.863L446.182 958.17c36.205 36.228 95.432 36.228 131.637 0l333.818-333.772c36.204-36.228 23.931-65.864-27.274-65.864zM139.636 465.443h744.727c51.205 0 63.478-29.614 27.273-65.818L577.818 65.829c-36.205-36.205-95.432-36.205-131.637 0L112.364 399.625c-36.205 36.204-23.932 65.818 27.272 65.818z"/>
  283. </Canvas>
  284. </Viewbox>
  285. </StackPanel>
  286. </Border>
  287. </Grid>
  288. </Border>
  289. </StackPanel>
  290. </ScrollViewer>
  291. <Border Grid.Column="1" CornerRadius="7" Background="{StaticResource ContentBackground}" Margin="5">
  292. <lvc:CartesianChart x:Name="_Chart" Margin="5" LegendLocation="Bottom" Foreground="#FFD4D4D4">
  293. <lvc:CartesianChart.AxisX>
  294. <lvc:Axis x:Name="_ChartAxisX">
  295. <lvc:Axis.Separator>
  296. <lvc:Separator Stroke="{x:Null}"/>
  297. </lvc:Axis.Separator>
  298. </lvc:Axis>
  299. </lvc:CartesianChart.AxisX>
  300. <lvc:CartesianChart.AxisY>
  301. <lvc:Axis>
  302. <lvc:Axis.Separator>
  303. <lvc:Separator Stroke="#FF2B3744"/>
  304. </lvc:Axis.Separator>
  305. </lvc:Axis>
  306. </lvc:CartesianChart.AxisY>
  307. <lvc:CartesianChart.DataTooltip>
  308. <lvc:DefaultTooltip Background="#CC2B4056" CornerRadius="7"/>
  309. </lvc:CartesianChart.DataTooltip>
  310. <lvc:CartesianChart.Series>
  311. <lvc:LineSeries Title="ΔI" x:Name="_LineChartI" PointForeground="{StaticResource ContentBackground}" PointGeometry="{x:Null}">
  312. <lvc:LineSeries.Fill>
  313. <SolidColorBrush Color="#00F34336"/>
  314. </lvc:LineSeries.Fill>
  315. <lvc:LineSeries.Stroke>
  316. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  317. <LinearGradientBrush.RelativeTransform>
  318. <TransformGroup>
  319. <ScaleTransform CenterY="0.5" CenterX="0.5"/>
  320. <SkewTransform CenterY="0.5" CenterX="0.5"/>
  321. <RotateTransform Angle="90" CenterY="0.5" CenterX="0.5"/>
  322. <TranslateTransform/>
  323. </TransformGroup>
  324. </LinearGradientBrush.RelativeTransform>
  325. <GradientStop Color="#FF2772E3" Offset="0"/>
  326. <GradientStop Color="#FF4B94F8" Offset="1"/>
  327. </LinearGradientBrush>
  328. </lvc:LineSeries.Stroke>
  329. </lvc:LineSeries>
  330. </lvc:CartesianChart.Series>
  331. </lvc:CartesianChart>
  332. </Border>
  333. </Grid>
  334. </Border>
  335. </Grid>
  336. </Window>