public void Init(DailyStatsViewModel vm)
        {
            _vm = vm;

            _vm.PropertyChanged += VmOnPropertyChanged;
            _vm.SeriesPickerViewModel.PropertyChanged += (a, b) => UpdateChart();
        }
Пример #2
0
 public StatisticsViewModel(StatisticsViewController controller, OverallStatsViewModel overallStatsViewModel, DailyStatsViewModel dailyStatsViewModel)
 {
     _controller           = controller;
     OverallStatsViewModel = overallStatsViewModel;
     DailyStatsViewModel   = dailyStatsViewModel;
 }