From e8fd344c10c8f9874791075cc6ca04771854d54b Mon Sep 17 00:00:00 2001 From: hj615 Date: Mon, 1 Dec 2025 17:12:15 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B7=B8=EB=9E=98=ED=94=84=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SmartAquaViewer/MainWindow.xaml | 2 +- SmartAquaViewer/Resources/Generic.xaml | 1 + SmartAquaViewer/View/MonitoringView.xaml | 67 ++++++++++++++----- .../ViewModel/GraphControlViewModel.cs | 5 +- 4 files changed, 57 insertions(+), 18 deletions(-) diff --git a/SmartAquaViewer/MainWindow.xaml b/SmartAquaViewer/MainWindow.xaml index 7b198a2..6ad3e2c 100644 --- a/SmartAquaViewer/MainWindow.xaml +++ b/SmartAquaViewer/MainWindow.xaml @@ -61,7 +61,7 @@ - + + + @@ -767,11 +777,11 @@ - + - + - + - - + + Grid.Column="2" VerticalAlignment="Center" + FontSize="18" FontFamily="{StaticResource SCDream3}" Foreground="White"/> @@ -855,15 +865,42 @@ - + + Margin="0 0 4 0" VerticalContentAlignment="Center"> + + + + - + Foreground="#999999"> + + + + + @@ -899,7 +936,7 @@ - diff --git a/SmartAquaViewer/ViewModel/GraphControlViewModel.cs b/SmartAquaViewer/ViewModel/GraphControlViewModel.cs index ef0c08e..d540bb1 100644 --- a/SmartAquaViewer/ViewModel/GraphControlViewModel.cs +++ b/SmartAquaViewer/ViewModel/GraphControlViewModel.cs @@ -305,7 +305,8 @@ namespace SmartAquaViewer.ViewModel FieldItem valueField, // 값 필드 double boxWidth, // 박스 너비 TimeSpan? timeBucket = null, // 시간 사용할 때 버킷(기본 1시간) - int maxCategories = 24 // X 카테고리 최대개수(너무 많을 때 최근 N개만) + int maxCategories = 24, // X 카테고리 최대개수(너무 많을 때 최근 N개만) + bool showLegends = true ) { Model.Series.Clear(); @@ -390,7 +391,7 @@ namespace SmartAquaViewer.ViewModel } Model.Legends.Clear(); - Model.IsLegendVisible = true; + Model.IsLegendVisible = showLegends; Model.Legends.Add(new Legend { LegendPlacement = LegendPlacement.Outside,