Beispiel #1
0
        public void TickerSymbolChanged(string newTickerSymbol)
        {
            MarketHistoryCollection newHistoryCollection = this.marketHistoryService.GetPriceHistory(newTickerSymbol);

            this.TickerSymbol      = newTickerSymbol;
            this.HistoryCollection = newHistoryCollection;
        }
Beispiel #2
0
        public void OnTickerSymbolSelected(string tickerSymbol)
        {
            MarketHistoryCollection historyCollection = _marketHistoryService.GetPriceHistory(tickerSymbol);

            View.UpdateLineChart(historyCollection);
            View.SetChartTitle(tickerSymbol);
        }
Beispiel #3
0
 public void UpdateLineChart(MarketHistoryCollection historyCollection)
 {
     lineChart.ItemsSource = historyCollection;
 }
 public void UpdateLineChart(MarketHistoryCollection historyCollection)
 {
     HistoryCollectionPassed = historyCollection;
 }
        public void UpdateLineChart(MarketHistoryCollection historyCollection)
        {
            lineChart.ItemsSource = historyCollection;

        }
Beispiel #6
0
 public async Task GetMarketHistory_NoErrors()
 {
     MarketHistoryCollection data = await crest.GetMarketHistoryAsync(RegionId, TypeId);
 }
Beispiel #7
0
        public MarketHistoryCollection GetPriceHistory(string tickerSymbol)
        {
            MarketHistoryCollection items = this.marketHistory[tickerSymbol];

            return(items);
        }
 public void GetMarketHistory_NoErrors()
 {
     MarketHistoryCollection data = crest.GetMarketHistory(RegionId, TypeId);
 }
Beispiel #9
0
 public void UpdateLineChart(MarketHistoryCollection historyCollection)
 {
     HistoryCollectionPassed = historyCollection;
 }