Example #1
0
 public ShowStatisticsPageViewModel(INavigationService navigationService,
                                    IApiService apiService) : base(navigationService)
 {
     _navigationService = navigationService;
     _apiService        = apiService;
     Title           = Languages.MyStatistics;
     IsRunning       = false;
     IsVisible       = false;
     Chart           = new ToShowChart();
     StatisticsTypes = new ObservableCollection <StatisticsType>(CombosHelper.GetStatisticsTypes());
     Months          = new ObservableCollection <Month>(CombosHelper.GetMonths());
 }