public ExploringHistoricalStockPricesChartPage (IEnumerable<Tuple<DateTime, decimal>> list, string ticker) { InitializeComponent (); Title = ticker.ToUpper(); BackgroundColor = MyColors.MidnightBlue; series1.Color = MyColors.Turqoise; BindingContext = new StocksViewModel (list); }
public ExploringHistoricalStockPricesChartPage(IEnumerable <Tuple <DateTime, decimal> > list, string ticker) { InitializeComponent(); Title = ticker.ToUpper(); BackgroundColor = MyColors.MidnightBlue; series1.Color = MyColors.Turqoise; BindingContext = new StocksViewModel(list); }
public ComparePriceVsAvgPage (IEnumerable<Tuple<DateTime, decimal>> stocks, IEnumerable<Tuple<DateTime, decimal>> avg, string ticker) { InitializeComponent (); BackgroundColor = MyColors.MidnightBlue; Title = ticker.ToUpper (); series1.Color = MyColors.Turqoise; series2.Color = MyColors.GreenSea; series1.Label = ticker.ToUpper (); series2.Label = ticker.ToUpper () + "Average"; BindingContext = new StocksViewModel (stocks, avg); }
public ComparePriceVsAvgPage(IEnumerable <Tuple <DateTime, decimal> > stocks, IEnumerable <Tuple <DateTime, decimal> > avg, string ticker) { InitializeComponent(); BackgroundColor = MyColors.MidnightBlue; Title = ticker.ToUpper(); series1.Color = MyColors.Turqoise; series2.Color = MyColors.GreenSea; series1.Label = ticker.ToUpper(); series2.Label = ticker.ToUpper() + "Average"; BindingContext = new StocksViewModel(stocks, avg); }
public CompareTwoStocksChartPage (IEnumerable<Tuple<DateTime, decimal>> priceList1, IEnumerable<Tuple<DateTime, decimal>> priceList2, string ticker1, string ticker2) { InitializeComponent (); Title = ticker1.ToUpper() + " vs " + ticker2.ToUpper(); BackgroundColor = MyColors.MidnightBlue; series1.Color = MyColors.Turqoise; series2.Color = MyColors.Carrot; series1.Label = ticker1.ToUpper (); series2.Label = ticker2.ToUpper (); var svm = new StocksViewModel (priceList1, priceList2); BindingContext = svm; }
public CompareTwoStocksChartPage(IEnumerable <Tuple <DateTime, decimal> > priceList1, IEnumerable <Tuple <DateTime, decimal> > priceList2, string ticker1, string ticker2) { InitializeComponent(); Title = ticker1.ToUpper() + " vs " + ticker2.ToUpper(); BackgroundColor = MyColors.MidnightBlue; series1.Color = MyColors.Turqoise; series2.Color = MyColors.Carrot; series1.Label = ticker1.ToUpper(); series2.Label = ticker2.ToUpper(); var svm = new StocksViewModel(priceList1, priceList2); BindingContext = svm; }