Merge branch 'PM_SCOTTPLOT' of http://elara:3000/Sean/Avalonia into PM_SCOTTPLOT
This commit is contained in:
@@ -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;
|
||||
{
|
||||
|
||||
@@ -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"); }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user