Ejemplo n.º 1
0
        public async Task LoadChartAsync(string symbol)
        {
            try
            {
                var prices = await ClientApi.GetChart(symbol);

                foreach (var price in prices)
                {
                    ChartData.Add(price);
                }
            }
            catch (Exception)
            {
                GetService <IMessageBoxService>()?.ShowMessage("An error occurred getting chart data");
            }
        }