Esempio n. 1
0
 public DataViewModel()
 {
     this.StockExchange = new ObservableCollection <DataModel>();
     StockExchange.Add(new DataModel()
     {
         Quaterly = "Qua1", Price = 6, Stock = 4, Volume = 5
     });
     StockExchange.Add(new DataModel()
     {
         Quaterly = "Qua2", Price = 10, Stock = 10, Volume = 4
     });
     StockExchange.Add(new DataModel()
     {
         Quaterly = "Qua3", Price = 6, Stock = 2, Volume = 5
     });
     StockExchange.Add(new DataModel()
     {
         Quaterly = "Qua4", Price = 1, Stock = 8, Volume = 2
     });
     StockExchange.Add(new DataModel()
     {
         Quaterly = "Qua5", Price = 5, Stock = 6, Volume = 4
     });
     StockExchange.Add(new DataModel()
     {
         Quaterly = "Qua6", Price = 3, Stock = 8, Volume = 1
     });
 }