Commit Latest

This commit is contained in:
2025-06-28 23:49:24 -04:00
parent 0d8402b234
commit 6bf92a14f2
10 changed files with 293 additions and 1397 deletions

View File

@@ -97,7 +97,7 @@ namespace PortfolioManager.ViewModels
{
return new List<CommandViewModel>()
{
new CommandViewModel("ScottPlot", new MyRelayCommand(ParamArrayAttribute => this.ViewScottPlot())),
// new CommandViewModel("ScottPlot", new MyRelayCommand(ParamArrayAttribute => this.ViewScottPlot())),
new CommandViewModel("Bollinger Bands", new MyRelayCommand(ParamArrayAttribute => this.ViewBollingerBands())),
new CommandViewModel("Gain/Loss", new MyRelayCommand(ParamArrayAttribute => this.ViewGainLoss())),
new CommandViewModel("Momentum Model", new MyRelayCommand(ParamArrayAttribute => this.ViewMomentum())),
@@ -107,19 +107,19 @@ namespace PortfolioManager.ViewModels
};
}
private void ViewScottPlot()
{
ScottPlotViewModel workspace = null;
if (null == workspace)
{
workspace = new ScottPlotViewModel();
workspace.WorkspaceInstantiator = InstantiateWorkspace;
workspace.Referer = GetReferal();
// AddMenuItem(workspace);
this.Workspaces.Add(workspace);
}
this.SetActiveWorkspace(workspace);
}
// private void ViewScottPlot()
// {
// ScottPlotViewModel workspace = null;
// if (null == workspace)
// {
// workspace = new ScottPlotViewModel();
// workspace.WorkspaceInstantiator = InstantiateWorkspace;
// workspace.Referer = GetReferal();
// // AddMenuItem(workspace);
// this.Workspaces.Add(workspace);
// }
// this.SetActiveWorkspace(workspace);
// }
private void ViewBollingerBands()
{