diff --git a/PortfolioManager/Renderers/BollingerBandRenderer.cs b/PortfolioManager/Renderers/BollingerBandRenderer.cs index 520c85e..8b724da 100644 --- a/PortfolioManager/Renderers/BollingerBandRenderer.cs +++ b/PortfolioManager/Renderers/BollingerBandRenderer.cs @@ -456,7 +456,6 @@ namespace PortfolioManager.Renderers Close = BollingerBandModel.Close(bollingerBands); SMAN = BollingerBandModel.SMAN(bollingerBands); Volume = BollingerBandModel.Volume(bollingerBands); - // LeastSquares = BollingerBandModel.LeastSquares(bollingerBands); Scatter scatter = default; { diff --git a/PortfolioManager/UIUtils/TextMarkerImageGenerator.cs b/PortfolioManager/UIUtils/TextMarkerImageGenerator.cs index 00ff047..298599b 100644 --- a/PortfolioManager/UIUtils/TextMarkerImageGenerator.cs +++ b/PortfolioManager/UIUtils/TextMarkerImageGenerator.cs @@ -52,6 +52,5 @@ public static class TextMarkerImageGenerator imageHelper.Fill(color); Avalonia.Media.Imaging.Bitmap avBitmap = new Avalonia.Media.Imaging.Bitmap(imageHelper.ToStream()); return avBitmap; - // avBitmap.Save("c:\\3\\mybitmap.jpg"); } } } diff --git a/PortfolioManager/ViewModels/BollingerBandViewModel.cs b/PortfolioManager/ViewModels/BollingerBandViewModel.cs index 5fdbf2d..f725713 100644 --- a/PortfolioManager/ViewModels/BollingerBandViewModel.cs +++ b/PortfolioManager/ViewModels/BollingerBandViewModel.cs @@ -41,21 +41,12 @@ namespace PortfolioManager.ViewModels PropertyChanged += OnViewModelPropertyChanged; Initialize(); } - - // public BollingerBandViewModel(bool loadedFromParams) - // { - // DisplayName = "Bollinger"; - // OnPlotterLoadedEventHandler += PlotterLoadedEvent; - // PropertyChanged += OnViewModelPropertyChanged; - // Initialize(); - // base.OnPropertyChanged("SelectedSymbol"); - // } protected override void OnDispose() - { - MDTrace.WriteLine(LogLevel.DEBUG, $"Dispose BollingerBandViewModel"); - base.OnDispose(); - } + { + MDTrace.WriteLine(LogLevel.DEBUG, $"Dispose BollingerBandViewModel"); + base.OnDispose(); + } public override String Title { @@ -229,6 +220,7 @@ namespace PortfolioManager.ViewModels { base.OnPropertyChanged("SelectedWatchList"); base.OnPropertyChanged("SelectedSymbol"); + base.OnPropertyChanged("Title"); }); } catch (Exception exception)