public GenericChartSettingView(GenericChartViewModel viewModel, GenericChartView view)
        {
            InitializeComponent();

            this.DataContext       = viewModel;
            this._viewModel        = viewModel;
            this._view             = view;
            this.cmboView1.Text    = viewModel.Parameters.Visibilty;
            this.cmboDataType.Text = viewModel.Parameters.DataType;
            HierarchyList();
        }
        public GenericChartWidget(IReactivePublisher publisher
                                  , GenericChartViewModel testSampleViewModel) : base(publisher)
        {
            this.ViewModel = testSampleViewModel;
            this.ViewModel.ParentWidget = this;


            this.Parameters       = new GenericChartParameters();
            this.pluginParameters = new GenericChartParameters();
            this.Parameters.SetParams(this.pluginParameters.GetParams());
            this.ViewModel.Parameters = (GenericChartParameters)this.Parameters;


            TopSecuritiesViewerWindow = new GenericChartView(this.ViewModel);
            this.UiElement            = TopSecuritiesViewerWindow;
            this.publisher            = publisher;
        }
 public GenericChartSettingViewModel(GenericChartViewModel topSecuritiesViewerModel, GenericChartView topSecuritiesViewerMainWindow)
 {
     this._topSecuritiesViewerModel      = topSecuritiesViewerModel;
     this._topSecuritiesViewerMainWindow = topSecuritiesViewerMainWindow;
 }