public void TickerSymbolChanged(string newTickerSymbol) { MarketHistoryCollection newHistoryCollection = this.marketHistoryService.GetPriceHistory(newTickerSymbol); this.TickerSymbol = newTickerSymbol; this.HistoryCollection = newHistoryCollection; }
public void OnTickerSymbolSelected(string tickerSymbol) { MarketHistoryCollection historyCollection = _marketHistoryService.GetPriceHistory(tickerSymbol); View.UpdateLineChart(historyCollection); View.SetChartTitle(tickerSymbol); }
public void UpdateLineChart(MarketHistoryCollection historyCollection) { lineChart.ItemsSource = historyCollection; }
public void UpdateLineChart(MarketHistoryCollection historyCollection) { HistoryCollectionPassed = historyCollection; }
public void UpdateLineChart(MarketHistoryCollection historyCollection) { lineChart.ItemsSource = historyCollection; }
public async Task GetMarketHistory_NoErrors() { MarketHistoryCollection data = await crest.GetMarketHistoryAsync(RegionId, TypeId); }
public MarketHistoryCollection GetPriceHistory(string tickerSymbol) { MarketHistoryCollection items = this.marketHistory[tickerSymbol]; return(items); }
public void GetMarketHistory_NoErrors() { MarketHistoryCollection data = crest.GetMarketHistory(RegionId, TypeId); }
public void UpdateLineChart(MarketHistoryCollection historyCollection) { HistoryCollectionPassed = historyCollection; }