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,