Ejemplo n.º 1
0
        public override async void OnNavigatedTo(NavigatedToEventArgs e, Dictionary <string, object> viewModelState)
        {
            base.OnNavigatedTo(e, viewModelState);
            Source.Clear();

            // Replace this with your actual data
            var data = await _sampleDataService.GetChartDataAsync();

            foreach (var item in data)
            {
                Source.Add(item);
            }
        }